Rubygems: gem 'ruby_reactor', '~> 0.4'
GitHub: https://t.co/dGmu57WDDP
Docs: full guides for every feature
If you're building complex workflows in Ruby, give it a ⭐ and try it out.
Questions? Replies open. 👇
Ruby Reactor 0.4.0 is out — The saga pattern, production-ready.
🧊 Interrupts (pause & resume workflows)
📊 Web dashboard (inspect reactors live)
🧪 RSpec test helpers (test reactors in 3 lines)
🔒 Locks, semaphores, rate limits & periods
⚡ AsyncResult intermediate_results
⚡ AsyncResult now exposes intermediate_results
Sync step results available immediately, even after the reactor goes async:
result.intermediate_results[:create_user]
No waiting for background jobs to finish.
🔒 NEW: Coordination Primitives
with_lock — one runner at a time
with_semaphore — cap concurrency
with_rate_limit — multi-window quotas
with_period — once per day/month
All Redis-backed, composable. Smart snooze on contention.
📊 NEW: Web Dashboard
Mount it in your routes to inspect every reactor — inputs, results, step-by-step trace, failures. No more grepping Sidekiq logs.
mount RubyReactor::Web => "/ruby_reactor"
Same feel as Sidekiq's dashboard, built for sagas.
🧊 NEW: Interrupts — pause mid-flight, resume on webhooks.
interrupt :wait_for_webhook blocks until you call continue_by_correlation_id with a payload.
No polling. No split jobs. Native pause/resume in Ruby.
@mesa_eth I lost all my #USDT at the exchange when clicking on "Enable".
Is @mesa_eth a scam #DEX?
Luckily I was just trying with a small amount.
Can someone tell me what happened?