Object/Trait

zio.stream

Take

Related Docs: trait 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

Type Members

  1. final case class Fail[+E](value: Cause[E]) extends Take[E, Nothing] with Product with Serializable

    Permalink

    Represents a failure take with a Cause[E].

  2. final case class Value[+A](value: A) extends Take[Nothing, A] with Product with Serializable

    Permalink

    Represents take with value of type A retrieved from queue modeling stream.

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. object End extends Take[Nothing, Nothing] with Product with Serializable

    Permalink

    Represents end of stream marker.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def fromEffect[R, E, A](zio: ZIO[R, E, A]): ZIO[R, Nothing, Take[E, A]]

    Permalink

    Creates a Take from an effect.

  11. def fromPull[R, E, A](pull: Pull[R, E, A]): ZIO[R, Nothing, 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.Fail, end of stream to Take.End.

  12. final def getClass(): Class[_]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def option[E, A](io: IO[E, Take[E, A]]): IO[E, Option[A]]

    Permalink

    Creates new effect with value Option[A] or error E from effect returning Take[E, A].

    Creates new effect with value Option[A] or error E from effect returning Take[E, A]. Result of stream reading is mapped to effect value as follows: terminated stream is mapped to None, value a read from stream is mapped to Some(a). In case of error from stream reading, effect with E is returned.

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

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

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

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped