generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or requestlanguage-sdkIssue relates to the Language SDKIssue relates to the Language SDK
Description
The regular Lambda context has a utility function getRemainingTimeInMillis() which will provide the remaining time before the active invocation will timeout. Customers use this utility to approximate how long they have left in their lambda functions, which may influence business logic in their code.
We should implement an equivalent getRemainingExecutionTimeInMillis() on the durable context for the execution timeout. This will allow customers to perform similar checks for durable executions, across multiple lambda invocations.
We can do this by using the timestamp of the EXECUTION event in the execution state. This event is generated when the execution is started and should be accurate to measure against.
ConnorKirk and leandrodamascena
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestlanguage-sdkIssue relates to the Language SDKIssue relates to the Language SDK