Class

zio.stream.ZSink

InputRemainderOps

Related Doc: package ZSink

Permalink

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

Linear Supertypes
AnyRef, Any
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])

    Permalink

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

    Permalink

    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

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

    Permalink

    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

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

    Permalink

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

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

    Permalink

    Repeatedly runs this sink until i outputs have been accumulated.

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

    Permalink

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

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

    Permalink

    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. final def collectAllWith[S](z: S)(f: (S, B) ⇒ S): ZSink[R, E, A, A, S]

    Permalink

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. final def optional: ZSink[R, Nothing, A, A, Option[B]]

    Permalink

    A named alias for ?.

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

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

    Permalink

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

  25. def toString(): String

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

    Permalink

    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

    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( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped