Skip to main content

handle

Function handle 

Source
pub async fn handle(
    headers: &HashMap<String, String>,
    input: &Value,
    store: &RedisCacheStore,
) -> Result<EventEnvelope, AppError>
Expand description

The action dispatch over a given store (Java RedisCache.handleEvent) — public as the reuse/test seam the Java constructor-injected Supplier provides: drive the contract against any store, e.g. one built against an in-process server.