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

    Function formatDuration

    • Format milliseconds as a Go-style duration string ("4h0m0s" style collapsed to the largest sensible units). Used for tag values and human display.

      Parameters

      • ms: number

      Returns string