object Take extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Take
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def chunk[A](as: Chunk[A]): Take[Nothing, A]

    Creates a Take[Nothing, A] with the specified chunk.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def die(t: Throwable): Take[Nothing, Nothing]

    Creates a failing Take[Nothing, Nothing] with the specified throwable.

  8. def dieMessage(msg: String): Take[Nothing, Nothing]

    Creates a failing Take[Nothing, Nothing] with the specified error message.

  9. def done[E, A](exit: Exit[E, A]): Take[E, A]

    Creates a Take[E, A] from Exit[E, A].

  10. val end: Take[Nothing, Nothing]

    End-of-stream marker

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def fail[E](e: E): Take[E, Nothing]

    Creates a failing Take[E, Nothing] with the specified failure.

  14. def failCause[E](c: Cause[E]): Take[E, Nothing]

    Creates a failing Take[E, Nothing] with the specified cause.

  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. 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 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.

  17. 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 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.

  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def single[A](a: A): Take[Nothing, A]

    Creates a Take[Nothing, A] with a singleton chunk.

  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def fromEffect[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 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.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use fromZIO

  2. def halt[E](c: Cause[E]): Take[E, Nothing]

    Creates a failing Take[E, Nothing] with the specified cause.

    Creates a failing Take[E, Nothing] with the specified cause.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use failCause

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped