Skip to content

getCurrentTrace

function getCurrentTrace(): Trace | null;

This function will get the current trace from the execution context.

Trace | null

The current trace or null if there is no trace.