Packages

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]) @IntrinsicCandidate() @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 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 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.

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

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

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

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped