Attaches metadata to the handler function to mark it as a special handler for Node.js environments.
API
function createNodeRequestHandler<T extends NodeRequestHandlerFunction>( handler: T): T;
createNodeRequestHandler
T
Attaches metadata to the handler function to mark it as a special handler for Node.js environments.
@paramhandler
T
- The handler function to be defined and annotated.
@returns
T
Jump to details