Creates a Take[Nothing, A]
with the specified chunk.
Creates a failing Take[Nothing, Nothing]
with the specified throwable.
Creates a failing Take[Nothing, Nothing]
with the specified error message.
Creates a Take[E, A]
from Exit[E, A]
.
End-of-stream marker
Creates a failing Take[E, Nothing]
with the specified failure.
Creates a failing Take[E, Nothing]
with the specified cause.
Creates effect from Pull[R, E, A]
that does not fail, but succeeds with
the Take[E, A]
.
Creates effect from Pull[R, E, A]
that does not fail, but succeeds with
the Take[E, A]
. Error from stream when pulling is converted to
Take.failCause
, end of stream to Take.end
.
Creates an effect from ZIO[R, E,A]
that does not fail, but succeeds with
the Take[E, A]
.
Creates an effect from ZIO[R, E,A]
that does not fail, but succeeds with
the Take[E, A]
. Error from stream when pulling is converted to
Take.failCause
. Creates a singleton chunk.
Creates a Take[Nothing, A]
with a singleton chunk.
Creates an effect from ZIO[R, E,A]
that does not fail, but succeeds with the Take[E, A]
.
Creates an effect from ZIO[R, E,A]
that does not fail, but succeeds with the Take[E, A]
.
Error from stream when pulling is converted to Take.halt
. Creates a singleton chunk.
(Since version 2.0.0) use fromZIO
Creates a failing Take[E, Nothing]
with the specified cause.
Creates a failing Take[E, Nothing]
with the specified cause.
(Since version 2.0.0) use failCause