Class: TIMEx::Strategies::Ractor
- Defined in:
- lib/timex/strategies/ractor.rb
Overview
Note:
On timeout the waiter thread is stopped but the Ractor may keep running; Telemetry#emit records a leak event for operators.
Runs the block inside a Ractor for isolation from the caller's heap.
The block and captured state must be Ractor-shareable; typical service
objects that close over self will fail at runtime. Prefer a small frozen
lambda that only uses the yielded Deadline.