Function humanizerTTL

  • Returns a human-readable time duration for a given time-to-live (TTL) in milliseconds.

    Returns

    A human-readable string representation of the TTL, such as "1d 2h 3m 4s".

    Parameters

    • ttl: number

      The TTL in milliseconds.

    Returns string

Generated using TypeDoc