What problem does it solve?
This Skill helps engineers translate the Distributed Async Await specification into concrete Resonate TypeScript SDK patterns, ensuring durable, replay-safe workflows and correct failure semantics when implementing multi-step, long-running processes.
Core Features & Use Cases
- Spec-to-SDK mapping: Maps processes, executions, promises, addressing, and coordination primitives to concrete ctx.run, ctx.rpc, beginRun, and beginRpc usage.
- Determinism & recovery guidance: Highlights deterministic coding practices, replay-safe side effects, and durable checkpoints to recover from crashes.
- Idempotency & promise handling: Explains promise ID strategies, cached results vs new executions, and when to hand off between local and remote execution.
- Use Case: Designing a resilient order-processing saga that spans local steps and remote workers, preserves idempotency, and safely resumes after failures.
Quick Start
Use this skill to map a Distributed Async Await workflow into Resonate TypeScript SDK patterns and verify deterministic, idempotent execution.