@sentry/nextjs
Version:
Official Sentry SDK for Next.js
7 lines (6 loc) • 399 B
TypeScript
import { VercelCronsConfig } from '../types';
/**
* Wraps a function with Sentry crons instrumentation by automatically sending check-ins for the given Vercel crons config.
*/
export declare function wrapApiHandlerWithSentryVercelCrons<F extends (...args: any[]) => any>(handler: F, vercelCronsConfig: VercelCronsConfig): F;
//# sourceMappingURL=wrapApiHandlerWithSentryVercelCrons.d.ts.map