Skip to main content
Module

x/sentry/index.d.ts>getActiveTransaction

The Official Sentry Deno SDK
Go to Latest
function getActiveTransaction
Deprecated
Deprecated

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

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

Grabs active transaction off scope.

Parameters

optional
maybeHub: Hub

Returns

T | undefined