TLDR Web Dev · ARTICLES & TUTORIALS

DURABLE OBJECTS CALLBACKS ARE WEIRD

sunilpai.dev4 min read

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.