Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit 30794ce

Browse files
committed
feat: add type for waitUntil
1 parent 2d92037 commit 30794ce

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/function/handler_context.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ export interface HandlerContext {
1111
awsRequestId: string
1212
logGroupName: string
1313
logStreamName: string
14+
/**
15+
* A Promise that allows the Lambda function to respond immediately while still waiting
16+
* for the operation to complete asynchronously.
17+
*/
18+
waitUntil: Promise<any>
1419
identity?: { [key: string]: any }
1520
clientContext?: { [key: string]: any }
1621

0 commit comments

Comments
 (0)