Skip to main content
Module

x/sentry/index.mjs>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.109.0/index.mjs";

Grabs active transaction off scope.

Parameters

optional
maybeHub: Hub

Returns

T | undefined