resonate-basic-durable-world-usage-rust

Official

Write durable Rust functions with Resonate.

Authorresonatehq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Rust developers building long-running, crash-safe workflows need a structured pattern to declare durable functions, manage context and results, and ensure checkpoint-replay semantics with a clean API surface.

Core Features & Use Cases

  • Durable function patterns: Workflow, Leaf with Info, and Pure leaf shapes using #[resonate::function].
  • Context APIs: Use ctx.run, ctx.rpc, and ctx.sleep (with Duration) and .spawn() for parallelism, plus builder options for timeouts and routing.
  • Use Case: Orchestrate a multi-step Rust workflow that loads data, processes it in parallel, and handles retries with checkpointing.

Quick Start

Define a simple Rust function annotated with #[resonate::function] to implement a small workflow that calls a leaf with ctx.run and returns a Result.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: resonate-basic-durable-world-usage-rust
Download link: https://github.com/resonatehq/resonate-skills/archive/main.zip#resonate-basic-durable-world-usage-rust

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.