Fs2StreamOps
Extension methods for FS2 streams iterating over IO
- Type parameters:
- O
Type of the items contained in the stream
- Value parameters:
- stream
Stream being operated on
trait LazyLogging
class Object
trait Matchable
class Any
Value members
Concrete methods
Configure this stream to fail if not fed for a certain duration
Configure this stream to fail if not fed for a certain duration
- Value parameters:
- timeout
Time to wait without consuming items before halting the resulting stream
- Returns:
A new Stream with the same structure as the input one, but configured to halt and throw an StreamTimeoutException if no items are received within a time window equal to timeout