Defines a "generic" function handler. Returns the handler function as-is, only providing the types and doing basic validation.
The event handler function to use.
The handler function, unmodified.
Renamed to pubSubEventHandler. This alias will be removed in the next major version.
Defines a "generic" function handler. Returns the handler function as-is, only providing the types and doing basic validation.