Creates a take
with element value B
obtained by transforming value of type A
by applying function f
.
Creates a take
with element value B
obtained by transforming value of type A
by applying function f
. If take
is a failure Take.Fail
or an end-of-stream marker
Take.End
original take
instance is returned.
Checks if this take
is a failure (Take.Fail
).
Transforms Take[E, A]
to Take[E, B]
by applying function f
to an element value if take
is not failure or end-of-stream marker.
Zips this take
and the specified one together, producing a take
with tuple of
their values.
Zips this take
and the specified one together, producing take
with a value C
by applying
provided function f
to values from both takes
.
Zips this take
and the specified one together, producing take
with a value C
by applying
provided function f
to values from both takes
. In case both takes
are Take.Fail
,
take
with combined cause will be produced.
Otherwise, if one of this or that take
is Take.Fail
or Take.End
that one will be returned.
A
Take[E, A]
represents a singletake
from a queue modeling a stream of values. ATake
may be a failure causeCause[E]
, an element valueA
or an end-of-stream marker.