Takaro - v0.4.11
    Preparing search index...

    Function runWithAsyncContext

    • 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

      • Optionaloptions: RunWithAsyncContextOptions

        Options to pass to the async context strategy

      Returns T

      The result of the callback