Constructors
constructor
- new TTLBatch(ttl: number, batch: Batch<Value>, ttlOn: TTLOnFunction, ttlOff: TTLOffFunction): TTLBatch
-
Parameters
-
ttl: number
-
batch: Batch<Value>
-
ttlOn: TTLOnFunction
-
ttlOff: TTLOffFunction
Methods
put
- put(key: Key, value: Value): void