Push

object Push
class Object
trait Matchable
class Any
Push.type

Value members

Concrete methods

def emit[I, Z](z: Z, leftover: Chunk[I]): IO[(Right[Nothing, Z], Chunk[I]), Nothing]
def fail[I, E](e: E, leftover: Chunk[I]): IO[(Left[E, Nothing], Chunk[I]), Nothing]
def halt[E](c: Cause[E]): ZIO[Any, (Left[E, Nothing], Chunk[Nothing]), Nothing]
def restartable[R, E, I, L, Z](sink: ZManaged[R, Nothing, (R, E, I, L) => Z]): ZManaged[R, Nothing, ((R, E, I, L) => Z, URIO[R, Unit])]

Decorates a Push with a ZIO value that re-initializes it with a fresh state.

Decorates a Push with a ZIO value that re-initializes it with a fresh state.

Concrete fields

val more: UIO[Unit]