UNPKG

221 BTypeScriptView Raw
1import { CloudEvent } from "./core";
2type CloudEventFunction<T> = (raw: CloudEvent<T>) => any | Promise<any>;
3export declare function wrapTraceContext<T>(handler: CloudEventFunction<T>): CloudEventFunction<T>;
4export {};