Handler<T> typedef
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<T> = Future<InvocationResult> Function(
Context context, T event);