trait SinkPure[+E, +A0, -A, +B] extends ZSink[Any, E, A0, A, B]
- Self Type
- SinkPure[E, A0, A, B]
- Alphabetic
- By Inheritance
- SinkPure
- ZSink
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
Concrete 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
?: ZSink[Any, Nothing, A0, A, Option[B]]
Returns a new sink that tries to produce the
B, but if there is an error in stepping or extraction, producesNone.Returns a new sink that tries to produce the
B, but if there is an error in stepping or extraction, producesNone.- Definition Classes
- ZSink
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
chunked[A1 >: A0, A2 <: A]: ZSink[Any, E, A1, Chunk[A2], B]
Takes a
Sink, and lifts it to be chunked in its input and output.Takes a
Sink, and lifts it to be chunked in its input and output. This will not improve performance, but can be used to adapt non-chunked sinks wherever chunked sinks are required.- Definition Classes
- ZSink
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
const[C](c: ⇒ C): ZSink[Any, E, A0, A, C]
- Definition Classes
- ZSink
- def contramap[C](f: (C) ⇒ A): SinkPure[E, A0, C, B]
-
final
def
contramapM[R1 <: Any, E1 >: E, C](f: (C) ⇒ ZIO[R1, E1, A]): ZSink[R1, E1, A0, C, B]
- Definition Classes
- ZSink
- def dimap[C, D](f: (C) ⇒ A)(g: (B) ⇒ D): SinkPure[E, A0, C, D]
-
final
def
dropWhile[A1 <: A](pred: (A1) ⇒ Boolean): ZSink[Any, E, A0, A1, B]
- Definition Classes
- ZSink
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def extract(s: State): IO[E, B]
-
def
filter[A1 <: A](f: (A1) ⇒ Boolean): SinkPure[E, A0, A1, B]
Filters the inputs fed to this sink.
-
final
def
filterM[R1 <: Any, E1 >: E, A1 <: A](f: (A1) ⇒ IO[E1, Boolean]): ZSink[R1, E1, A0, A1, B]
Effectfully filters the inputs fed to this sink.
Effectfully filters the inputs fed to this sink.
- Definition Classes
- ZSink
-
final
def
filterNot[A1 <: A](f: (A1) ⇒ Boolean): ZSink[Any, E, A0, A1, B]
- Definition Classes
- ZSink
-
final
def
filterNotM[E1 >: E, A1 <: A](f: (A1) ⇒ IO[E1, Boolean]): ZSink[Any, E1, A0, A1, B]
- Definition Classes
- ZSink
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def initial: UIO[Step[State, Nothing]]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[C](f: (B) ⇒ C): SinkPure[E, A0, A, C]
Maps the value produced by this sink.
-
def
mapError[E1](f: (E) ⇒ E1): ZSink[Any, E1, A0, A, B]
- Definition Classes
- ZSink
-
final
def
mapM[R1 <: Any, E1 >: E, C](f: (B) ⇒ ZIO[R1, E1, C]): ZSink[R1, E1, A0, A, C]
Effectfully maps the value produced by this sink.
Effectfully maps the value produced by this sink.
- Definition Classes
- ZSink
- def mapRemainder[A1](f: (A0) ⇒ A1): SinkPure[E, A1, A, B]
-
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()
-
final
def
optional: ZSink[Any, Nothing, A0, A, Option[B]]
A named alias for
?.A named alias for
?.- Definition Classes
- ZSink
-
def
provideSome[R1](f: (R1) ⇒ Any): ZSink[R1, E, A0, A, B]
- Definition Classes
- ZSink
-
final
def
race[R1 <: Any, E1 >: E, A2 >: A0, A1 <: A, B1 >: B](that: ZSink[R1, E1, A2, A1, B1]): ZSink[R1, E1, A2, A1, B1]
Runs both sinks in parallel on the input, returning the result from the one that finishes successfully first.
Runs both sinks in parallel on the input, returning the result from the one that finishes successfully first.
- Definition Classes
- ZSink
-
final
def
raceBoth[R1 <: Any, E1 >: E, A2 >: A0, A1 <: A, C](that: ZSink[R1, E1, A2, A1, C]): ZSink[R1, E1, A2, A1, Either[B, C]]
Runs both sinks in parallel on the input, returning the result from the one that finishes successfully first.
Runs both sinks in parallel on the input, returning the result from the one that finishes successfully first.
- Definition Classes
- ZSink
- def step(s: State, a: A): UIO[Step[State, A0]]
-
def
stepChunk[A1 <: A](state: State, as: Chunk[A1]): ZIO[Any, E, Step[State, A0]]
- Definition Classes
- ZSink
- def stepChunkPure[A1 <: A](s: State, as: Chunk[A1]): Step[State, A0]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
takeWhile[A1 <: A](pred: (A1) ⇒ Boolean): ZSink[Any, E, A0, A1, B]
- Definition Classes
- ZSink
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
untilOutput(f: (B) ⇒ Boolean): ZSink[Any, E, A0, A, B]
- Definition Classes
- ZSink
-
final
def
update(state: Step[State, Nothing]): ZSink[Any, E, A0, A, B]
- Definition Classes
- ZSink
-
final
def
void: ZSink[Any, E, A0, A, Unit]
- Definition Classes
- ZSink
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
|[R1 <: Any, E1 >: E, A2 >: A0, A1 <: A, B1 >: B](that: ZSink[R1, E1, A2, A1, B1]): ZSink[R1, E1, A2, A1, B1]
A named alias for
race.A named alias for
race.- Definition Classes
- ZSink