The subset of DurableObjectStorage the lock object uses.
Persisted rather than in-memory because a Durable Object is evicted after
70–140 seconds of inactivity when it cannot hibernate, and a lock TTL
routinely outlives that — a deadline held in a field would evaporate and hand
the same lock to a second holder.
The subset of
DurableObjectStoragethe lock object uses.Persisted rather than in-memory because a Durable Object is evicted after 70–140 seconds of inactivity when it cannot hibernate, and a lock TTL routinely outlives that — a deadline held in a field would evaporate and hand the same lock to a second holder.
Since
0.2.0