resonate-basic-durable-world-usage-typescript

Installation
SKILL.md

Resonate Basic Durable World Usage

SDK version: This skill reflects @resonatehq/sdk v0.11.4 (current on npm).

Two execution engines (v0.11.0+): The SDK now ships two engines. This skill documents the generator engine (imported from @resonatehq/sdk), which uses function* / yield* and is the basis of all existing Resonate examples. An async/await engine (imported from @resonatehq/sdk/async) was added in v0.11.0 and is documented in resonate-async-await-engine-typescript.

Overview

The Durable World is inside generator functions where you write durable, recoverable execution logic using the Context object. Every operation checkpoints progress, enabling automatic recovery after failures.

Key distinction: Durable World code uses ctx (Context). Ephemeral World code uses resonate (Client).

Mental Model

Installs
1
GitHub Stars
6
First Seen
Aug 10, 2026
resonate-basic-durable-world-usage-typescript — resonatehq/resonate-skills