Durable Objects, Workers - deleteAll() now deletes Durable Object alarm
4mo ago
Source
CloudflareDurable Objects, Workers - deleteAll() now deletes Durable Object alarmcloudflare.comdeleteAll() now deletes a Durable Object alarm in addition to stored data for Workers with a compatibility date of 2026-02-24 or later. This change simplifies clearing a Durable Object's storage with a single API call. Previously, deleteAll() only deleted user-stored data for an object. Alarm usage stores metadata in an object's storage, which required a separate deleteAlarm() call to fully clean up all storage for an object. The deleteAll() change applies to both KV-backed and SQLite-backed Durable Objects. // Before: two API calls required to clear all storage await this . ctx . storage . deleteAlarm () ; await this . ctx . storage . deleteAll () ; // Now: a single call clears both data and the alarm await this . ctx . storage . deleteAll () ; For more information, refer to the Storage API documentation .
You might also wanna read
Implementing a Durable Execution Engine Using SQLite for Persistent Workflows
The article explores building a Durable Execution (DE) engine using SQLite, explaining how DE engines make multi-step workflows persistent a
SQLite is All You Need for Durable Workflows - Blog
obeli.sk·1mo ago
Exploring Persistence and Durability in Key-Value Databases
The article discusses the author's experience working on a key-value database, exploring different approaches for persistence and durability
Examining Destructive Move Semantics in C++26: Can Programmers Express Object-Consuming Functions?
The article discusses whether C++26 will include destructive move semantics, which would allow functions to consume objects without running
Analyzing the Challenges and Alternatives to Soft Delete Patterns in Software Development
The article examines the challenges and complexities of implementing soft delete patterns in software development, particularly focusing on
atlas9.dev·5mo ago
Understanding SQLite's Durability Settings and Performance Trade-offs
The article examines SQLite's durability settings, highlighting the confusion and conflicting information in its documentation regarding whe

Comments
Sign in to join the conversation.
No comments yet. Be the first.