output
    Preparing search index...
    Context: { getActivityContext(): Context }

    Tools to interact with Runtime context

    Type Declaration

    • getActivityContext: function
      • Returns information about the current Temporal execution.

        Only available when called from within a step or evaluator (Temporal Activities) running in the Temporal runtime.

        Returns Context

        The workflow context, or null if unavailable or incomplete.

        • Returns null when not called inside a Temporal Activity (steps/evaluators);
        • Returns null when not called from within a running Temporal worker, like in unit tests environment;