implicit final class NoRemainderOps[R, E, A, B] extends AnyVal
- Alphabetic
- By Inheritance
- NoRemainderOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- 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, producesNone. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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. - def collectAll: ZSink[R, E, A, A, List[B]]
Accumulates the output into a list.
- def collectAllN(i: Int): ZSink[R, E, A, A, List[B]]
Accumulates the output into a list of maximum size
i. - def collectAllWhile(p: (A) => Boolean): ZSink[R, E, A, A, List[B]]
Accumulates into a list for as long as incoming values verify predicate
p. - def collectAllWhileWith[S](p: (A) => Boolean)(z: S)(f: (S, B) => S): ZSink[R, E, A, A, S]
Accumulates into a value of type
Sfor as long as incoming values verify predicatep. - def collectAllWith[S](z: S)(f: (S, B) => S): ZSink[R, E, A, A, S]
Accumulates the output into a value of type
S. - def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def optional: ZSink[R, Nothing, A, A, Option[B]]
A named alias for
?. - def takeWhile(pred: (A) => Boolean): ZSink[R, E, A, A, B]
Produces a sink consuming all the elements of type
Aas long as they verify the predicatepred. - def toString(): String
- Definition Classes
- Any
- 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.