Member Junction
    Preparing search index...

    Function RunDetachedFromDiagnosticContext

    • Runs fn detached from any active request/session DiagnosticContext. Use when spawning fire-and-forget background timers or daemons from inside a request so they do not keep the request's diagnostic session context alive indefinitely.

      Type Parameters

      • T

      Parameters

      • fn: () => T

      Returns T