object Sink extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Sink
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def await[A]: Sink[Unit, Nothing, A, A]
see ZSink.await
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def collectAll[A]: Sink[Nothing, Nothing, A, List[A]]
see ZSink.collectAll
- def collectAllN[A](n: Long): ZSink[Any, Nothing, A, A, List[A]]
- def collectAllToMap[K, A](key: (A) => K)(f: (A, A) => A): ZSink[Any, Nothing, Nothing, A, Map[K, A]]
- def collectAllToMapN[K, A](n: Long)(key: (A) => K)(f: (A, A) => A): ZSink[Any, Nothing, A, A, Map[K, A]]
- def collectAllToSet[A]: ZSink[Any, Nothing, Nothing, A, Set[A]]
- def collectAllToSetN[A](n: Long): ZSink[Any, Nothing, A, A, Set[A]]
- def collectAllWhile[A](p: (A) => Boolean): Sink[Nothing, A, A, List[A]]
- def collectAllWhileM[E, A](p: (A) => IO[E, Boolean]): Sink[E, A, A, List[A]]
- def count[A]: Sink[Nothing, Nothing, A, Long]
see ZSink.count
- def die(e: => Throwable): Sink[Nothing, Nothing, Any, Nothing]
see ZSink.die
- def dieMessage(m: => String): Sink[Nothing, Nothing, Any, Nothing]
see ZSink.dieMessage
- def drain: Sink[Nothing, Nothing, Any, Unit]
see ZSink.drain
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fail[E](e: => E): Sink[E, Nothing, Any, Nothing]
see ZSink.fail
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fold[A0, A, S](z: S)(contFn: (S) => Boolean)(f: (S, A) => (S, Chunk[A0])): Sink[Nothing, A0, A, S]
see ZSink.fold
- def foldLeft[A, S](z: S)(f: (S, A) => S): Sink[Nothing, Nothing, A, S]
see ZSink.foldLeft
- def foldLeftM[E, A, S](z: S)(f: (S, A) => IO[E, S]): Sink[E, Nothing, A, S]
see ZSink.foldLeftM
- def foldM[E, A0, A, S](z: S)(contFn: (S) => Boolean)(f: (S, A) => IO[E, (S, Chunk[A0])]): Sink[E, A0, A, S]
see ZSink.foldM
- def foldUntil[S, A](z: S, max: Long)(f: (S, A) => S): Sink[Nothing, A, A, S]
see ZSink.foldUntil
- def foldUntilM[E, S, A](z: S, max: Long)(f: (S, A) => IO[E, S]): Sink[E, A, A, S]
see ZSink.foldUntilM
- def foldWeighted[A, S](z: S)(costFn: (A) => Long, max: Long)(f: (S, A) => S): Sink[Nothing, A, A, S]
- def foldWeightedDecompose[A, S](z: S)(costFn: (A) => Long, max: Long, decompose: (A) => Chunk[A])(f: (S, A) => S): Sink[Nothing, A, A, S]
- def foldWeightedDecomposeM[E, E1 >: E, A, S](z: S)(costFn: (A) => IO[E, Long], max: Long, decompose: (A) => IO[E, Chunk[A]])(f: (S, A) => IO[E1, S]): Sink[E1, A, A, S]
- def foldWeightedM[E, E1 >: E, A, S](z: S)(costFn: (A) => IO[E, Long], max: Long)(f: (S, A) => IO[E1, S]): Sink[E1, A, A, S]
- def fromEffect[E, B](b: => IO[E, B]): Sink[E, Nothing, Any, B]
see ZSink.fromEffect
- def fromFunction[A, B](f: (A) => B): Sink[Unit, Nothing, A, B]
- def fromFunctionM[E, A, B](f: (A) => ZIO[Any, E, B]): Sink[Option[E], Nothing, A, B]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def halt[E](e: => Cause[E]): Sink[E, Nothing, Any, Nothing]
see ZSink.halt
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def head[A]: Sink[Nothing, A, A, Option[A]]
see ZSink.head
- def identity[A]: Sink[Unit, Nothing, A, A]
see ZSink.identity
- def ignoreWhile[A](p: (A) => Boolean): Sink[Nothing, A, A, Unit]
- def ignoreWhileM[E, A](p: (A) => IO[E, Boolean]): Sink[E, A, A, Unit]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def last[A]: Sink[Nothing, Nothing, A, Option[A]]
see ZSink.last
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def pull1[E, A0, A, B](end: IO[E, B])(input: (A) => Sink[E, A0, A, B]): Sink[E, A0, A, B]
see ZSink.pull1
- def read1[E, A](e: (Option[A]) => E)(p: (A) => Boolean): Sink[E, A, A, A]
see ZSink.read1
- val splitLines: Sink[Nothing, String, String, Chunk[String]]
see ZSink.splitLines
- val splitLinesChunk: Sink[Nothing, Chunk[String], Chunk[String], Chunk[String]]
- def succeed[A, B](b: => B): Sink[Nothing, A, A, B]
see ZSink.succeed
- def sum[A](implicit arg0: Numeric[A]): Sink[Nothing, Nothing, A, A]
see ZSink.sum
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def throttleEnforce[A](units: Long, duration: Duration, burst: Long = 0)(costFn: (A) => Long): ZManaged[Clock, Nothing, ZSink[Clock, Nothing, Nothing, A, Option[A]]]
- def throttleEnforceM[E, A](units: Long, duration: Duration, burst: Long = 0)(costFn: (A) => IO[E, Long]): ZManaged[Clock, E, ZSink[Clock, E, Nothing, A, Option[A]]]
- def throttleShape[A](units: Long, duration: Duration, burst: Long = 0)(costFn: (A) => Long): ZManaged[Clock, Nothing, ZSink[Clock, Nothing, Nothing, A, A]]
- def throttleShapeM[E, A](units: Long, duration: Duration, burst: Long = 0)(costFn: (A) => IO[E, Long]): ZManaged[Clock, E, ZSink[Clock, E, Nothing, A, A]]
- def toString(): String
- Definition Classes
- AnyRef → Any
- val utf8DecodeChunk: Sink[Nothing, Chunk[Byte], Chunk[Byte], String]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()