• Runs the supplied callback in its own async context. Async Context strategies are defined per SDK.

    Type Parameters

    • T

    Parameters

    • callback: (() => T)

      The callback to run in its own async context

        • (): T
        • Returns T

    • options: RunWithAsyncContextOptions = {}

      Options to pass to the async context strategy

    Returns T

    The result of the callback

Generated using TypeDoc