resonate-durable-sleep-scheduled-work-rust
OfficialDurable sleeps and cron schedules for Rust
Authorresonatehq
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provide durable, crash-safe timed waits and cron-style scheduling for Rust workflows so long-running delays and recurring jobs do not depend on process uptime or fragile timers.
Core Features & Use Cases
- Durable in-workflow pauses using ctx.sleep(Duration) so workers may exit and resume without losing place.
- Ephemeral-world cron registration using resonate.schedule(name, cron, fn, input) to dispatch functions on fixed schedules and return stable invocation IDs.
- Deletion and idempotency controls for schedules, plus patterns for reminders, nightly jobs, countdowns, and long-horizon timers.
Quick Start
Register a cron schedule named nightly-recon to invoke nightly_reconciliation at 02:00 daily and use ctx.sleep(Duration::from_secs(...)) inside your workflow to create durable delays between steps.
Dependency Matrix
Required Modules
None requiredComponents
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-durable-sleep-scheduled-work-rust Download link: https://github.com/resonatehq/resonate-skills/archive/main.zip#resonate-durable-sleep-scheduled-work-rust Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.