TLDR Web Dev · ARTICLES & TUTORIALS
DURABLE OBJECTS CALLBACKS ARE WEIRD
Summary from the TLDR Web Dev newsletter
Durable Objects Callbacks are a novel "static callback" pattern for Durable Objects in Cloudflare Workers. They solve the problem of long-running asynchronous operations needing human interaction by decoupling callbacks from their initiating functions. This allows Durable Objects to sleep and be awakened by events like alarms, webhooks, or emails.