Documentation
    Preparing search index...

    Function expOrTtl

    • Expiration or TTL (default 300 seconds)

      Parameters

      • options: { exp?: null | number; ttl?: number }

      Returns null | number