object Take extends Serializable
- Alphabetic
- By Inheritance
- Take
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
chunk[A](as: Chunk[A]): Take[Nothing, A]
Creates a
Take[Nothing, A]
with the specified chunk. -
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
die(t: Throwable): Take[Nothing, Nothing]
Creates a failing
Take[Nothing, Nothing]
with the specified throwable. -
def
dieMessage(msg: String): Take[Nothing, Nothing]
Creates a failing
Take[Nothing, Nothing]
with the specified error message. -
def
done[E, A](exit: Exit[E, A]): Take[E, A]
Creates a
Take[E, A]
fromExit[E, A]
. -
val
end: Take[Nothing, Nothing]
End-of-stream marker
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fail[E](e: E): Take[E, Nothing]
Creates a failing
Take[E, Nothing]
with the specified failure. -
def
failCause[E](c: Cause[E]): Take[E, Nothing]
Creates a failing
Take[E, Nothing]
with the specified cause. -
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromPull[R, E, A](pull: Pull[R, E, A])(implicit trace: ZTraceElement): URIO[R, Take[E, A]]
Creates effect from
Pull[R, E, A]
that does not fail, but succeeds with theTake[E, A]
.Creates effect from
Pull[R, E, A]
that does not fail, but succeeds with theTake[E, A]
. Error from stream when pulling is converted toTake.failCause
, end of stream toTake.end
. -
def
fromZIO[R, E, A](zio: ZIO[R, E, A])(implicit trace: ZTraceElement): URIO[R, Take[E, A]]
Creates an effect from
ZIO[R, E,A]
that does not fail, but succeeds with theTake[E, A]
.Creates an effect from
ZIO[R, E,A]
that does not fail, but succeeds with theTake[E, A]
. Error from stream when pulling is converted toTake.failCause
. Creates a singleton chunk. -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
single[A](a: A): Take[Nothing, A]
Creates a
Take[Nothing, A]
with a singleton chunk. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()