object ZStream extends Stream_Functions with ZStreamPlatformSpecific with Serializable
- Alphabetic
- By Inheritance
- ZStream
- Serializable
- Serializable
- ZStreamPlatformSpecific
- Stream_Functions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
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
-
implicit
val
ConformsAnyProof: ConformsR[Any]
- Definition Classes
- ZStream → Stream_Functions
- implicit def ConformsRProof[A]: ConformsR[A]
-
final
def
apply[A](as: A*): ZStream[Any, Nothing, A]
Creates a pure stream from a variable list of values
Creates a pure stream from a variable list of values
- Definition Classes
- Stream_Functions
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
bracket[R, E, A](acquire: ZIO[R, E, A])(release: (A) ⇒ ZIO[R, Nothing, _])(implicit arg0: ConformsR[R]): ZStream[R, E, A]
Creates a stream from a single value that will get cleaned up after the stream is consumed
Creates a stream from a single value that will get cleaned up after the stream is consumed
- Definition Classes
- Stream_Functions
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
die(ex: Throwable): ZStream[Any, Nothing, Nothing]
The stream that always dies with
ex
.The stream that always dies with
ex
.- Definition Classes
- Stream_Functions
-
final
def
dieMessage(msg: String): ZStream[Any, Nothing, Nothing]
The stream that always dies with an exception described by
msg
.The stream that always dies with an exception described by
msg
.- Definition Classes
- Stream_Functions
-
final
val
empty: ZStream[Any, Nothing, Nothing]
The empty stream
The empty stream
- Definition Classes
- Stream_Functions
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
fail[E](error: E): ZStream[Any, E, Nothing]
The stream that always fails with
error
The stream that always fails with
error
- Definition Classes
- Stream_Functions
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
finalizer[R](finalizer: ZIO[R, Nothing, _])(implicit arg0: ConformsR[R]): ZStream[R, Nothing, Nothing]
Creates a stream that emits no elements, never fails and executes the finalizer before it ends.
Creates a stream that emits no elements, never fails and executes the finalizer before it ends.
- Definition Classes
- Stream_Functions
-
final
def
flatten[R, E, A](fa: ZStream[R, E, ZStream[R, E, A]])(implicit arg0: ConformsR[R]): ZStream[R, E, A]
Flattens nested streams.
Flattens nested streams.
- Definition Classes
- Stream_Functions
-
final
def
flattenPar[R, E, A](n: Long, outputBuffer: Int = 16)(fa: ZStream[R, E, ZStream[R, E, A]])(implicit arg0: ConformsR[R]): ZStream[R, E, A]
Flattens a stream of streams into a stream by executing a non-deterministic concurrent merge.
Flattens a stream of streams into a stream by executing a non-deterministic concurrent merge. Up to
n
streams may be consumed in parallel and up tooutputBuffer
elements may be buffered by this operator.- Definition Classes
- Stream_Functions
-
final
def
fromChunk[A](c: Chunk[A]): ZStream[Any, Nothing, A]
Creates a stream from a zio.Chunk of values
Creates a stream from a zio.Chunk of values
- Definition Classes
- Stream_Functions
-
final
def
fromEffect[R, E, A](fa: ZIO[R, E, A])(implicit arg0: ConformsR[R]): ZStream[R, E, A]
Creates a stream from an effect producing a value of type
A
Creates a stream from an effect producing a value of type
A
- Definition Classes
- Stream_Functions
-
final
def
fromIterable[A](as: Iterable[A]): ZStream[Any, Nothing, A]
Creates a stream from an iterable collection of values
Creates a stream from an iterable collection of values
- Definition Classes
- Stream_Functions
-
final
def
fromQueue[R, E, A](queue: ZQueue[_, _, R, E, _, A])(implicit arg0: ConformsR[R]): ZStream[R, E, A]
Creates a stream from a zio.ZQueue of values
Creates a stream from a zio.ZQueue of values
- Definition Classes
- Stream_Functions
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
halt[E](cause: Cause[E]): ZStream[Any, E, Nothing]
The stream that always halts with
cause
.The stream that always halts with
cause
.- Definition Classes
- Stream_Functions
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
managed[R, E, A](managed: ZManaged[R, E, A])(implicit arg0: ConformsR[R]): ZStream[R, E, A]
Creates a single-valued stream from a managed resource
Creates a single-valued stream from a managed resource
- Definition Classes
- Stream_Functions
-
final
def
mergeAll[R, E, A](n: Long, outputBuffer: Int = 16)(streams: ZStream[R, E, A]*)(implicit arg0: ConformsR[R]): ZStream[R, E, A]
Merges a variable list of streams in a non-deterministic fashion.
Merges a variable list of streams in a non-deterministic fashion. Up to
n
streams may be consumed in parallel and up tooutputBuffer
elements may be buffered by this operator.- Definition Classes
- Stream_Functions
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
val
never: ZStream[Any, Nothing, Nothing]
The stream that never produces any value or fails with any error.
The stream that never produces any value or fails with any error.
- Definition Classes
- Stream_Functions
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
range(min: Int, max: Int): Stream[Nothing, Int]
Constructs a stream from a range of integers (inclusive).
Constructs a stream from a range of integers (inclusive).
- Definition Classes
- Stream_Functions
-
final
def
succeed[A](a: A): ZStream[Any, Nothing, A]
Creates a single-valued pure stream
Creates a single-valued pure stream
- Definition Classes
- Stream_Functions
-
final
def
succeedLazy[A](a: ⇒ A): ZStream[Any, Nothing, A]
Creates a single, lazily-evaluated-valued pure stream
Creates a single, lazily-evaluated-valued pure stream
- Definition Classes
- Stream_Functions
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
unfold[S, A](s: S)(f0: (S) ⇒ Option[(A, S)]): ZStream[Any, Nothing, A]
Creates a stream by peeling off the "layers" of a value of type
S
Creates a stream by peeling off the "layers" of a value of type
S
- Definition Classes
- Stream_Functions
-
final
def
unfoldM[R, E, A, S](s: S)(f0: (S) ⇒ ZIO[R, E, Option[(A, S)]])(implicit arg0: ConformsR[R]): ZStream[R, E, A]
Creates a stream by effectfully peeling off the "layers" of a value of type
S
Creates a stream by effectfully peeling off the "layers" of a value of type
S
- Definition Classes
- Stream_Functions
-
final
def
unwrap[R, E, A](fa: ZIO[R, E, ZStream[R, E, A]])(implicit arg0: ConformsR[R]): ZStream[R, E, A]
Creates a stream produced from an effect
Creates a stream produced from an effect
- Definition Classes
- Stream_Functions
-
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( ... )