Constructs a stream from a resource that must be acquired and released.
Returns the empty stream.
Flattens a stream of streams into a stream, by concatenating all the substreams.
Constructs a pure stream from the specified Iterable
.
Constructs an infinite stream from a Queue
.
Lifts an effect producing an A
into a stream producing that A
.
Constructs a singleton stream.
Constructs a stream from a range of integers (inclusive).
Constructs a stream from state.
Constructs a stream from effectful state.
Constructs a stream from effectful state. This method should not be used
for resources that require safe release. See Stream.fromResource
.
Unwraps a stream wrapped inside of an IO
value.