Packages

c

zio.stream.ZSink

InputRemainderOps

implicit final class InputRemainderOps[R, E, A, B] extends AnyRef

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InputRemainderOps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InputRemainderOps(sink: ZSink[R, E, A, A, B])

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. def ?: ZSink[R, Nothing, A, A, Option[B]]

    Returns a new sink that tries to produce the B, but if there is an error in stepping or extraction, produces None.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def chunked: ZSink[R, E, A, Chunk[A], B]

    Takes a Sink, and lifts it to be chunked in its input.

    Takes a Sink, and lifts it to be chunked in its input. This will not improve performance, but can be used to adapt non-chunked sinks wherever chunked sinks are required.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def collectAll: ZSink[R, E, A, A, List[B]]

    Repeatedly runs this sink and accumulates its outputs to a list.

  9. def collectAllN(i: Int): ZSink[R, E, A, A, List[B]]

    Repeatedly runs this sink until i outputs have been accumulated.

  10. def collectAllWhile(p: (A) ⇒ Boolean): ZSink[R, E, A, A, List[B]]

    Repeatedly runs this sink and accumulates its outputs for as long as incoming values verify the predicate.

  11. def collectAllWhileWith[S](p: (A) ⇒ Boolean)(z: S)(f: (S, B) ⇒ S): ZSink[R, E, A, A, S]

    Repeatedly runs this sink and accumulates its outputs into a value of type S for as long as the incoming values satisfy the predicate.

  12. def collectAllWith[S](z: S)(f: (S, B) ⇒ S): ZSink[R, E, A, A, S]

    Repeatedly runs this sink and accumulates the outputs into a value of type S.

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def optional: ZSink[R, Nothing, A, A, Option[B]]

    A named alias for ?.

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def takeWhile(pred: (A) ⇒ Boolean): ZSink[R, E, A, A, B]

    Produces a sink consuming all the elements of type A as long as they verify the predicate pred.

  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def untilOutput(f: (B) ⇒ Boolean): ZSink[R, E, A, A, Option[B]]

    Creates a sink that produces values until one verifies the predicate f.

    Creates a sink that produces values until one verifies the predicate f.

    Note

    The predicate is only verified when the underlying signals completion, or when the resulting sink is extracted. Sinks that never signal completion (e.g. ZSink.collectAll) will not have the predicate applied to intermediate values.

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

Inherited from AnyRef

Inherited from Any

Ungrouped