Package: effect
Module: Stream
Ends the stream if it does not produce a value after the specified duration.
Signature
declare const timeout: { (duration: Duration.DurationInput): <A, E, R>(self: Stream<A, E, R>) => Stream<A, E, R>; <A, E, R>(self: Stream<A, E, R>, duration: Duration.DurationInput): Stream<A, E, R>; }
Since v2.0.0