Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.100.0/index.d.ts";

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

Returns

Transaction | undefined