Class

zio.stream.ZSink

NoRemainderOps

Related Doc: package ZSink

Permalink

implicit final class NoRemainderOps[R, E, A, B] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NoRemainderOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    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. final def collectAll: ZSink[R, E, A, A, List[B]]

    Permalink

    Accumulates the output into a list.

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

    Permalink

    Accumulates the output into a list of maximum size i.

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

    Permalink

    Accumulates into a list for as long as incoming values verify predicate p.

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

    Permalink

    Accumulates into a value of type S for as long as incoming values verify predicate p.

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

    Permalink

    Accumulates the output into a value of type S.

  12. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  13. final def isInstanceOf[T0]: Boolean

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

    Permalink

    A named alias for ?.

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

  16. def toString(): String

    Permalink
    Definition Classes
    Any
  17. 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.

Inherited from AnyVal

Inherited from Any

Ungrouped