Object/Class

zio.stream

Take

Related Docs: class Take | package stream

Permalink

object Take extends Serializable

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def chunk[A](as: Chunk[A]): Take[Nothing, A]

    Permalink

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

  6. def clone(): AnyRef

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

  10. val end: Take[Nothing, Nothing]

    Permalink

    End-of-stream marker

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def fail[E](e: E): Take[E, Nothing]

    Permalink

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

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

    Permalink

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

  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def fromPull[R, E, A](pull: Pull[R, E, A]): URIO[R, Take[E, A]]

    Permalink

    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]): URIO[R, Take[E, A]]

    Permalink

    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[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def single[A](a: A): Take[Nothing, A]

    Permalink

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

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def fromEffect[R, E, A](zio: ZIO[R, E, A]): URIO[R, Take[E, A]]

    Permalink

    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]

    Permalink

    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 Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped