@nats-io/kv
    Preparing search index...

    Type Alias KvPurgeOptions

    KvPurgeOptions: KvDeleteOptions & { ttl: string }

    Type declaration

    • ttl: string

      If set, the entry will notify when deleted after the specified duration. Note that for this option to work, the KvBucket must have the markerTTL option.

      Note that the duration is specified as a string. The duration format matches Go duration strings

      • "10s" - 10 seconds
      • "1m" - 1 minute
      • "1h" - 1 hour

      If a unit suffix is not specified, it is assumed to be seconds.