Function wrapCloudEventFunction
- wrapCloudEventFunction(fn, wrapOptions?): CloudEventFunctionWithCallback
-
Parameters
-
fn: CloudEventFunction | CloudEventFunctionWithCallback
-
wrapOptions: Partial<WrapperOptions> = {}
Returns CloudEventFunctionWithCallback
Event handler
Wraps an event function handler adding it error capture and tracing capabilities.