Package: effect
Module: Micro
Returns an effect that will timeout this effect, that will fail with a
TimeoutException if the timeout elapses before the effect has produced a
value.
If the timeout elapses, the running effect will be safely interrupted.
Signature
declare const timeout: { (millis: number): <A, E, R>(self: Micro<A, E, R>) => Micro<A, E | TimeoutException, R>; <A, E, R>(self: Micro<A, E, R>, millis: number): Micro<A, E | TimeoutException, R>; }
Since v3.4.0