Skip to content

Static or No-Static Handler? #109

@feinstein

Description

@feinstein

The documentation here says:

The handler object should be declared as a class property and be static. By doing this, Lambda will re-use the instance for subsequent requests.

But the code sample just below the text doesn't have the static modifier. Why? Should handler be static or not?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions