File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
google-cloud-serverless/src
node-core/src/integrations/anr Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ export {
4747 winterCGHeadersToDict ,
4848 // eslint-disable-next-line deprecation/deprecation
4949 anrIntegration ,
50+ // eslint-disable-next-line deprecation/deprecation
5051 disableAnrDetectionForCallback ,
5152 consoleIntegration ,
5253 httpIntegration ,
Original file line number Diff line number Diff line change @@ -265,7 +265,17 @@ async function _startWorker(
265265 } ;
266266}
267267
268+ /**
269+ * @see {@link disableBlockDetectionForCallback }
270+ *
271+ * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead.
272+ */
268273export function disableAnrDetectionForCallback < T > ( callback : ( ) => T ) : T ;
274+ /**
275+ * @see {@link disableBlockDetectionForCallback }
276+ *
277+ * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead.
278+ */
269279export function disableAnrDetectionForCallback < T > ( callback : ( ) => Promise < T > ) : Promise < T > ;
270280/**
271281 * Temporarily disables ANR detection for the duration of a callback function.
You can’t perform that action at this time.
0 commit comments