spawn-ts API reference - v0.6.0
    Preparing search index...

    Function topologicalSort

    • Resolve job dependencies into an execution order (Kahn's algorithm). Throws if the graph has a cycle. Ports pkg/queue.TopologicalSort — including its stable seeding of the ready set in job-declaration order, so the order is deterministic across runs.

      Parameters

      Returns string[]