Skip to main content
Module

x/sentry/index.mjs>withScope

The Official Sentry Deno SDK
Go to Latest
function withScope
import { withScope } from "https://deno.land/x/sentry@7.109.0/index.mjs";

Set the given scope as the active scope in the callback.

Parameters

scope: Scope$1 | undefined
callback: (scope: Scope) => T