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

    Function generateSweepId

    • Generate a sweep id in the Go tool's shape: --<6 digits>. The digits derive from nowMs (not a RNG) so a given (name, time) is reproducible — matching this project's determinism convention.

      Parameters

      • name: string
      • nowMs: number

      Returns string