Returns an action that when run, sleeps for duration d and then evaluates fa.
Returns an action that when run, sleeps for duration d and then evaluates fa.
Note: prefer scheduler.delay(Stream.eval(fa), d) over Stream.eval(scheduler.effect.delay(fa, d))
as the former can be interrupted while delaying.
Starts a timer for duration d and after completion of the timer, evaluates fa.
Starts a timer for duration d and after completion of the timer, evaluates fa.
Returns a "gate" value which allows semantic blocking on the result of fa and an action which cancels the timer.
If the cancellation action is invoked, the gate completes with None. Otherwise, the gate completes with Some(a).
Returns an action that when run, sleeps for duration d and then completes with Unit.
Operations on a scheduler which return effectful values.