-
Notifications
You must be signed in to change notification settings - Fork 380
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
I have an expensive task that should not be part of the handler. As that would be running the code again and again for each event call. According to AWS documentation the execution context is the place where these "global" code needs to go so that the output of the code is persistent over events. The docs say that "A new instance of the Context object is passed to each handler invocation". Is there a way create a custom context which saves the global state of the object between calls?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested