object Take extends Serializable
- Alphabetic
- By Inheritance
- Take
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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(classOf[java.lang.CloneNotSupportedException]) @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: AnyRef): 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 fromPull[R, E, A](pull: Pull[R, E, A])(implicit trace: Trace): 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: Trace): 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[_ <: AnyRef]
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()