zio.stream.Take
See theTake companion object
A Take[E, A]
represents a single take
from a queue modeling a stream of values. A Take
may be a failure cause Cause[E]
, an chunk value A
or an end-of-stream marker.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Transforms Take[E, A]
to ZIO[R, E, B]
.
Transforms Take[E, A]
to ZIO[R, E, B]
.
Attributes
Folds over the failure cause, success value and end-of-stream marker to yield a value.
Folds over the failure cause, success value and end-of-stream marker to yield a value.
Attributes
Checks if this take
is done (Take.end
).
Checks if this take
is done (Take.end
).
Attributes
Checks if this take
is a failure.
Checks if this take
is a failure.
Attributes
Checks if this take
is a success.
Checks if this take
is a success.
Attributes
Transforms Take[E, A]
to Take[E, B]
by applying function f
.
Transforms Take[E, A]
to Take[E, B]
by applying function f
.
Attributes
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article