Resonate Durable Sleep Scheduled Work Java

Implement durable sleep and scheduled/recurring work in Java with Resonate — ctx.sleep(Duration) inside workflows for timers, countdowns, reminders, and long-horizon delays that survive process restarts, plus the top-level r.schedule(...) cron API (and the r.schedules sub-client) for periodic invocation of a registered function. Java's r.schedule(...) is a one-call function-dispatch convenience the Go SDK doesn't have yet (Go 0.1.0 has the lower-level Schedules() sub-client instead). Use when a workflow must wait for hours or days, or when a function should run on a fixed cron schedule. Verified against example-countdown-java / example-quickstart-java and develop/java.mdx (docs PR

resonatehq 1c22688 10.2 KB Updated

File contents

resonatehq/resonate-skills/tree/main/resonate-durable-sleep-scheduled-work-java commit 1c22688c9a

Frequently asked questions

npx skillmds@latest add resonatehq/resonate-durable-sleep-scheduled-work-java