Closed
Description
It would be great to have a easy way to schedule timeouts and intervals.
Something like:
orders.interval(1000, Msg::Tick);
orders.timeout(500, Msg::Delayed);
As mentioned in the futures cancellation issue, it would be great to return a drop guard that clears the timeout/interval when dropped.
For inspiration, draco does it this way.