Type Alias WithTtlValue<TType>

WithTtlValue<TType>: {
    ttl?: TimeSpan | null;
    value: TType;
}

Type Parameters

  • TType

Type declaration

  • Optionalttl?: TimeSpan | null

    You can provide a ttl value. If null is passed, the item will not expire.

  • value: TType