Feature request: Custom Config - Lambda context #1302
Labels
completed
This item is complete and has been merged/shipped
feature-request
This item refers to a feature request for an existing or new utility
idempotency
This item relates to the Idempotency Utility
Milestone
Use case
To help dealing with timeouts, users should be hable to bind the Lambda function's context with the Idempotency utility. The utility will then use the information regarding time remaining before timeout to handle idempotency record expiration internally.
Solution/User Experience
In some cases, like when making a custom function (aka not the handler) idempotent, customers might want to instantiate the config item within the scope, in this case they can pass the context directly to the constructor:
In other (most) cases, customers will instantiate the config object outside of the handler, and then register the context by calling a method:
Alternative solutions
No response
Acknowledgment
The text was updated successfully, but these errors were encountered: