datadog-ux-utils Documentation - v1.0.0
    Preparing search index...

    Function cancelAllFlows

    • Force-end all active flows, e.g., on route change or app teardown. Sends a flow_cancel action for each active flow.

      Parameters

      • reason: string = "cancelled"

        Reason for cancellation (default: "cancelled")

      Returns void

      cancelAllFlows("route_change");