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@8.0.0-beta.4/index.mjs";

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

Parameters

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