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.
Type Parameters
T extends Transaction
Parameters
optional
maybeHub: Hub