durable-objects

Community

Coordinate edge state with per-DOs.

AuthorNAinfini
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Durable Objects provide stateful coordination at the edge by offering per-entity storage, deterministic routing, and RPC/WebSocket capabilities for scalable apps like chat rooms or multiplayer games.

Core Features & Use Cases

  • One DO per chat room, game instance, or user to coordinate state and enforce consistency.
  • RPC methods, alarms, per-entity storage with SQLite, and WebSocket support for real-time interactions.
  • Use cases: chat rooms, collaborative apps, booking systems, and live dashboards.

Quick Start

Interact with a DO by name in your Worker code. Example: const stub = env.MY_DO.getByName("room-1"); await stub.yourRpcMethod("payload"); This uses RPC methods defined on the DO and assumes wrangler setup with a durable_object binding named MY_DO.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: durable-objects
Download link: https://github.com/NAinfini/Guild_Management/archive/main.zip#durable-objects

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.