Handler<E> typedef

Handler<E> = Future Function(Context context, E event)

A function which ingests and Event and a Context and returns a InvocationResult. The result is ecoded by the Runtime and posted to the Lambda API.

Implementation

typedef Handler<E> = Future Function(Context context, E event);