@sentry/nextjs
Version:
Official Sentry SDK for Next.js
10 lines • 425 B
TypeScript
import type { 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