Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sentry/index.d.ts>Scope#getSpan

The Official Sentry Deno SDK
Go to Latest
method Scope.prototype.getSpan
Deprecated
Deprecated

Use getActiveSpan() instead.

import { Scope } from "https://deno.land/x/sentry@7.120.0/index.d.ts";

Returns the Span if there is one.

Returns

Span | undefined