UNPKG

@sentry/google-cloud-serverless

Version:
12 lines (11 loc) • 536 B
import { EventFunction, EventFunctionWithCallback, WrapperOptions } from './general'; export type EventFunctionWrapperOptions = WrapperOptions; /** * Wraps an event function handler adding it error capture and tracing capabilities. * * @param fn Event handler * @param options Options * @returns Event handler */ export declare function wrapEventFunction(fn: EventFunction | EventFunctionWithCallback, wrapOptions?: Partial<EventFunctionWrapperOptions>): EventFunctionWithCallback; //# sourceMappingURL=events.d.ts.map