diff --git a/src/function/handler_context.ts b/src/function/handler_context.ts index ed12c5b2..86035dd1 100644 --- a/src/function/handler_context.ts +++ b/src/function/handler_context.ts @@ -11,6 +11,11 @@ export interface HandlerContext { awsRequestId: string logGroupName: string logStreamName: string + /** + * A Promise that allows the function to respond immediately while still waiting + * for the operation to complete asynchronously. + */ + waitUntil: Promise identity?: { [key: string]: any } clientContext?: { [key: string]: any }