resonate-recursive-fan-out-pattern-rust

Official

Durably fan-out and aggregate parallel tasks

Authorresonatehq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Enables robust parallel spawning and result aggregation for batch, tree, or crawl-style workloads where each child is an independent durable unit and parent processes must remain crash-safe and replayable.

Core Features & Use Cases

  • Parallel durable spawning: Fire N child invocations using ctx.run or ctx.rpc and collect their DurableFuture results.
  • Recursive traversal: Implement depth-limited tree or web crawling that spawns children of the same durable function.
  • Bounded concurrency & failure modes: Process in chunks to limit in-flight work and optionally tolerate partial failures when awaiting children.
  • Use Case: Enrich a large batch of order IDs in parallel, crawl a site to fixed depth, or implement map-reduce style workers with durable retries.

Quick Start

Fan out a list of order IDs in Rust using ctx.run or ctx.rpc to spawn parallel durable children, await their results, and return the aggregated list.

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-recursive-fan-out-pattern-rust
Download link: https://github.com/resonatehq/resonate-skills/archive/main.zip#resonate-recursive-fan-out-pattern-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.