Creates a static handler that wraps around an existing handler function.
The data type expected to be returned by the handler.
The payload type expected to be passed to the handler.
The existing handler function.
The options for the static handler.
Creates a static handler that wraps around an existing handler function.