UNPKG

@sentry/nextjs

Version:
11 lines (10 loc) • 431 B
import { EdgeRouteHandler } from '../../edge/types'; /** * Wraps a function on the edge runtime with error and performance monitoring. */ export declare function withEdgeWrapping<H extends EdgeRouteHandler>(handler: H, options: { spanDescription: string; spanOp: string; mechanismFunctionName: string; }): (...params: Parameters<H>) => Promise<ReturnType<H>>; //# sourceMappingURL=edgeWrapperUtils.d.ts.map