The storage surface IdempotencyObjectCore needs.
IdempotencyObjectCore
Written here rather than imported from the platform: cloudflare:workers is unresolvable by Deno, and the published IDurableObjectStorage is deliberately NOT widened — this facade adds setAlarm, which only the idempotency object uses.
cloudflare:workers
IDurableObjectStorage
setAlarm
0.9.0
Readonly
The object's transactional storage, plus the alarm it schedules.
Deletes a value.
Reads a value.
Writes a value.
Arms the object's single alarm.
The storage surface
IdempotencyObjectCoreneeds.Written here rather than imported from the platform:
cloudflare:workersis unresolvable by Deno, and the publishedIDurableObjectStorageis deliberately NOT widened — this facade addssetAlarm, which only the idempotency object uses.Since
0.9.0