Skip to main content

CurrentInvoke

@h4ad/serverless-adapter > CurrentInvoke

(type) CurrentInvoke

The type that represents the event created by the serverless trigger and the context created by the serverless environment for the current async invocation scope.

Signature:

export type CurrentInvoke<TEvent, TContext> = \{
event: TEvent | null;
context: TContext | null;
};