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

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

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

You should not rely on the transaction, but just use startSpan() APIs instead.

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

Returns the Transaction attached to the scope (if there is one).

Returns

Transaction | undefined