Attributes
Members list
Type members
Classlikes
An Emit[R, E, A, B]
represents an asynchronous callback that can be called multiple times. The callback can be called with a value of type ZIO[R, Option[E], Chunk[A]]
, where succeeding with a Chunk[A]
indicates to emit those elements, failing with Some[E]
indicates to terminate with that error, and failing with None
indicates to terminate with an end of stream signal.
An Emit[R, E, A, B]
represents an asynchronous callback that can be called multiple times. The callback can be called with a value of type ZIO[R, Option[E], Chunk[A]]
, where succeeding with a Chunk[A]
indicates to emit those elements, failing with Some[E]
indicates to terminate with that error, and failing with None
indicates to terminate with an end of stream signal.
Attributes
- Supertypes
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Representation of a grouped stream. This allows to filter which groups will be processed. Once this is applied all groups will be processed in parallel and the results will be merged in arbitrary order.
Attributes
- Companion
- trait
- Supertypes
- Self type
-
HaltStrategy.type
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Provides extension methods for streams that are sorted by distinct keys.
Provides extension methods for streams that are sorted by distinct keys.
Attributes
- Supertypes
Attributes
- Supertypes
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Companion
- trait
- Supertypes
- Self type
-
ZStreamConstructor.type
A ZStreamConstructor[Input]
knows how to construct a ZStream
value from an input of type Input
. This allows the type of the ZStream
value constructed to depend on Input
.
Attributes
- Supertypes
- Known subtypes
-
object ZStreamConstructor.type
Attributes
- Supertypes
- Known subtypes
-
object ZStreamConstructor.type
Attributes
- Supertypes
- Known subtypes
-
object ZStreamConstructor.type
Inherited classlikes
Accepted connection made to a specific channel AsynchronousServerSocketChannel
Accepted connection made to a specific channel AsynchronousServerSocketChannel
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
- Supertypes
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
- Supertypes
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
- Supertypes
- Known subtypes
-
object ZStreamConstructor.type
Value members
Concrete methods
Submerges the error case of an Either
into the ZStream
.
Submerges the error case of an Either
into the ZStream
.
Attributes
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
Attributes
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
Attributes
An infinite stream of random alphanumeric characters.
An infinite stream of random alphanumeric characters.
Attributes
Creates a pure stream from a variable list of values
Creates a pure stream from a variable list of values
Attributes
Locks the execution of the specified stream to the blocking executor. Any streams that are composed after this one will automatically be shifted back to the previous executor.
Locks the execution of the specified stream to the blocking executor. Any streams that are composed after this one will automatically be shifted back to the previous executor.
Attributes
Concatenates all of the streams in the chunk to one stream.
Concatenates all of the streams in the chunk to one stream.
Attributes
Prints the specified message to the console for debugging purposes.
Prints the specified message to the console for debugging purposes.
Attributes
The stream that dies with the ex
.
The stream that dies with the ex
.
Attributes
The stream that dies with an exception described by msg
.
The stream that dies with an exception described by msg
.
Attributes
The empty stream
The empty stream
Attributes
Accesses the whole environment of the stream.
Accesses the whole environment of the stream.
Attributes
Accesses the environment of the stream.
Accesses the environment of the stream.
Attributes
Accesses the environment of the stream in the context of a stream.
Accesses the environment of the stream in the context of a stream.
Attributes
Accesses the environment of the stream in the context of an effect.
Accesses the environment of the stream in the context of an effect.
Attributes
Creates a stream that executes the specified effect but emits no elements.
Creates a stream that executes the specified effect but emits no elements.
Attributes
The stream that always fails with the error
The stream that always fails with the error
Attributes
The stream that always fails with cause
.
The stream that always fails with cause
.
Attributes
Creates a one-element stream that never fails and executes the finalizer when it ends.
Creates a one-element stream that never fails and executes the finalizer when it ends.
Attributes
Creates a stream from a zio.stream.ZChannel
Creates a stream from a subscription to a hub.
Creates a stream from a subscription to a hub.
Attributes
Creates a stream from a subscription to a hub in the context of a scoped effect. The scoped effect describes subscribing to receive messages from the hub while the stream describes taking messages from the hub.
Creates a stream from a subscription to a hub in the context of a scoped effect. The scoped effect describes subscribing to receive messages from the hub while the stream describes taking messages from the hub.
Attributes
Creates a stream from a subscription to a hub in the context of a scoped effect. The scoped effect describes subscribing to receive messages from the hub while the stream describes taking messages from the hub.
Creates a stream from a subscription to a hub in the context of a scoped effect. The scoped effect describes subscribing to receive messages from the hub while the stream describes taking messages from the hub.
The hub will be shut down once the stream is closed.
Attributes
Creates a stream from a subscription to a hub.
Creates a stream from a subscription to a hub.
The hub will be shut down once the stream is closed.
Attributes
Creates a stream from a queue of values
Creates a stream from a queue of values
Attributes
Creates a stream from a queue of values. The queue will be shutdown once the stream is closed.
Creates a stream from a queue of values. The queue will be shutdown once the stream is closed.
Attributes
Creates a stream from an arbitrary number of chunks.
Creates a stream from an arbitrary number of chunks.
Attributes
Creates a stream from a subscription to a hub.
Creates a stream from a subscription to a hub.
Attributes
Creates a stream from a subscription to a hub in the context of a scoped effect. The scoped effect describes subscribing to receive messages from the hub while the stream describes taking messages from the hub.
Creates a stream from a subscription to a hub in the context of a scoped effect. The scoped effect describes subscribing to receive messages from the hub while the stream describes taking messages from the hub.
Attributes
Creates a stream from a subscription to a hub in the context of a scoped effect. The scoped effect describes subscribing to receive messages from the hub while the stream describes taking messages from the hub.
Creates a stream from a subscription to a hub in the context of a scoped effect. The scoped effect describes subscribing to receive messages from the hub while the stream describes taking messages from the hub.
The hub will be shut down once the stream is closed.
Attributes
Creates a stream from a subscription to a hub.
Creates a stream from a subscription to a hub.
The hub will be shut down once the stream is closed.
Attributes
Creates a stream from a java.io.InputStream
Creates a stream from a java.io.InputStream
Attributes
Creates a stream from a scoped java.io.InputStream
value.
Creates a stream from a scoped java.io.InputStream
value.
Attributes
Creates a stream from a java.io.InputStream
. Ensures that the input stream is closed after it is exhausted.
Creates a stream from a java.io.InputStream
. Ensures that the input stream is closed after it is exhausted.
Attributes
Creates a stream from an iterable collection of values
Creates a stream from an iterable collection of values
Attributes
Creates a stream from an iterable collection of values
Creates a stream from an iterable collection of values
Attributes
Creates a stream from an effect producing a value of type Iterable[A]
Creates a stream from an effect producing a value of type Iterable[A]
Attributes
Creates a stream from an effect producing a value of type Iterable[A]
Creates a stream from an effect producing a value of type Iterable[A]
Attributes
Creates a stream from an iterator
Creates a stream from an iterator
Attributes
Creates a stream from a scoped iterator
Creates a stream from a scoped iterator
Attributes
Creates a stream from an iterator
Creates a stream from an iterator
Attributes
Creates a stream from an iterator that may potentially throw exceptions
Creates a stream from an iterator that may potentially throw exceptions
Attributes
Creates a stream from an iterator that may potentially throw exceptions
Creates a stream from an iterator that may potentially throw exceptions
Attributes
Creates a stream from a Java iterator that may throw exceptions
Creates a stream from a Java iterator that may throw exceptions
Attributes
Creates a stream from a Java iterator that may throw exceptions
Creates a stream from a Java iterator that may throw exceptions
Attributes
Creates a stream from a scoped iterator
Creates a stream from a scoped iterator
Attributes
Creates a stream from a scoped iterator
Creates a stream from a scoped iterator
Attributes
Creates a stream from a Java iterator
Creates a stream from a Java iterator
Attributes
Creates a stream from a Java iterator
Creates a stream from a Java iterator
Attributes
Creates a stream from a Java iterator that may potentially throw exceptions
Creates a stream from a Java iterator that may potentially throw exceptions
Attributes
Creates a stream from a Java iterator that may potentially throw exceptions
Creates a stream from a Java iterator that may potentially throw exceptions
Attributes
Creates a stream from a ZIO effect that pulls elements from another stream. See toPull
for reference
Creates a stream from a ZIO effect that pulls elements from another stream. See toPull
for reference
Attributes
Creates a stream from a queue of values
Creates a stream from a queue of values
Value parameters
- maxChunkSize
-
Maximum number of queued elements to put in one chunk in the stream
Attributes
Creates a stream from a queue of values. The queue will be shutdown once the stream is closed.
Creates a stream from a queue of values. The queue will be shutdown once the stream is closed.
Value parameters
- maxChunkSize
-
Maximum number of queued elements to put in one chunk in the stream
Attributes
Creates a stream from a zio.Schedule that does not require any further input. The stream will emit an element for each value output from the schedule, continuing for as long as the schedule continues.
Creates a stream from a zio.Schedule that does not require any further input. The stream will emit an element for each value output from the schedule, continuing for as long as the schedule continues.
Attributes
Creates a stream from a zio.stm.TQueue of values.
Creates a stream from an effect producing a value of type A
Creates a stream from an effect producing a value of type A
Attributes
Creates a stream from an effect producing a value of type A
or an empty Stream
Creates a stream from an effect producing a value of type A
or an empty Stream
Attributes
The infinite stream of iterative function application: a, f(a), f(f(a)), f(f(f(a))), ...
The infinite stream of iterative function application: a, f(a), f(f(a)), f(f(f(a))), ...
Attributes
Logs the specified message at the current log level.
Logs the specified message at the current log level.
Attributes
Annotates each log in streams composed after this with the specified log annotation.
Annotates each log in streams composed after this with the specified log annotation.
Attributes
Annotates each log in streams composed after this with the specified log annotation.
Annotates each log in streams composed after this with the specified log annotation.
Attributes
Annotates each log in streams composed after this with the specified log annotation.
Annotates each log in streams composed after this with the specified log annotation.
Attributes
Retrieves the log annotations associated with the current scope.
Retrieves the log annotations associated with the current scope.
Attributes
Logs the specified message at the debug log level.
Logs the specified message at the debug log level.
Attributes
Logs the specified message at the error log level.
Logs the specified message at the error log level.
Attributes
Logs the specified cause as an error.
Logs the specified cause as an error.
Attributes
Logs the specified message at the fatal log level.
Logs the specified message at the fatal log level.
Attributes
Logs the specified message at the informational log level.
Logs the specified message at the informational log level.
Attributes
Sets the log level for streams composed after this.
Sets the log level for streams composed after this.
Attributes
Adjusts the label for the logging span for streams composed after this.
Adjusts the label for the logging span for streams composed after this.
Attributes
Logs the specified message at the trace log level.
Logs the specified message at the trace log level.
Attributes
Logs the specified message at the warning log level.
Logs the specified message at the warning log level.
Attributes
Merges a variable list of streams in a non-deterministic fashion. Up to n
streams may be consumed in parallel and up to outputBuffer
chunks may be buffered by this operator.
Merges a variable list of streams in a non-deterministic fashion. Up to n
streams may be consumed in parallel and up to outputBuffer
chunks may be buffered by this operator.
Attributes
The stream that never produces any value or fails with any error.
The stream that never produces any value or fails with any error.
Attributes
Like unfold, but allows the emission of values to end one step further than the unfolding of the state. This is useful for embedding paginated APIs, hence the name.
Like unfold, but allows the emission of values to end one step further than the unfolding of the state. This is useful for embedding paginated APIs, hence the name.
Attributes
Like unfoldChunk, but allows the emission of values to end one step further than the unfolding of the state. This is useful for embedding paginated APIs, hence the name.
Like unfoldChunk, but allows the emission of values to end one step further than the unfolding of the state. This is useful for embedding paginated APIs, hence the name.
Attributes
Like unfoldChunkZIO, but allows the emission of values to end one step further than the unfolding of the state. This is useful for embedding paginated APIs, hence the name.
Like unfoldChunkZIO, but allows the emission of values to end one step further than the unfolding of the state. This is useful for embedding paginated APIs, hence the name.
Attributes
Like unfoldZIO, but allows the emission of values to end one step further than the unfolding of the state. This is useful for embedding paginated APIs, hence the name.
Like unfoldZIO, but allows the emission of values to end one step further than the unfolding of the state. This is useful for embedding paginated APIs, hence the name.
Attributes
Constructs a stream from a range of integers (lower bound included, upper bound not included)
Constructs a stream from a range of integers (lower bound included, upper bound not included)
Attributes
Repeats the provided value infinitely.
Repeats the provided value infinitely.
Attributes
Repeats the value using the provided schedule.
Repeats the value using the provided schedule.
Attributes
Creates a stream from an effect producing a value of type A
which repeats forever.
Creates a stream from an effect producing a value of type A
which repeats forever.
Attributes
Creates a stream from an effect producing chunks of A
values which repeats forever.
Creates a stream from an effect producing chunks of A
values which repeats forever.
Attributes
Creates a stream from an effect producing chunks of A
values until it fails with None.
Creates a stream from an effect producing chunks of A
values until it fails with None.
Attributes
Creates a stream from an effect producing values of type A
until it fails with None.
Creates a stream from an effect producing values of type A
until it fails with None.
Attributes
Creates a stream from an effect producing a value of type A
, which is repeated using the specified schedule.
Creates a stream from an effect producing a value of type A
, which is repeated using the specified schedule.
Attributes
Creates a single-valued stream from a scoped resource
Creates a single-valued stream from a scoped resource
Attributes
Creates a single-valued stream from a scoped resource
Creates a single-valued stream from a scoped resource
Attributes
Accesses the specified service in the environment of the effect.
Accesses the specified service in the environment of the effect.
Attributes
Accesses the service corresponding to the specified key in the environment.
Accesses the service corresponding to the specified key in the environment.
Attributes
Accesses the specified service in the environment of the stream.
Accesses the specified service in the environment of the stream.
Attributes
Accesses the specified service in the environment of the stream in the context of a stream.
Accesses the specified service in the environment of the stream in the context of a stream.
Attributes
Accesses the specified service in the environment of the stream in the context of an effect.
Accesses the specified service in the environment of the stream in the context of an effect.
Attributes
Creates a single-valued pure stream
Creates a single-valued pure stream
Attributes
Returns a lazily constructed stream.
Returns a lazily constructed stream.
Attributes
Annotates each metric in streams composed after this with the specified tag.
Annotates each metric in streams composed after this with the specified tag.
Attributes
Annotates each metric in streams composed after this with the specified tag.
Annotates each metric in streams composed after this with the specified tag.
Attributes
Annotates each metric in streams composed after this with the specified tag.
Annotates each metric in streams composed after this with the specified tag.
Attributes
Retrieves the metric tags associated with the current scope.
Retrieves the metric tags associated with the current scope.
Attributes
A stream that emits Unit values spaced by the specified duration.
A stream that emits Unit values spaced by the specified duration.
Attributes
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
Attributes
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
.
Attributes
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
Attributes
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
Attributes
Creates a stream produced from an effect
Creates a stream produced from an effect
Attributes
Returns the specified stream if the given condition is satisfied, otherwise returns an empty stream.
Returns the specified stream if the given condition is satisfied, otherwise returns an empty stream.
Attributes
Returns the resulting stream when the given PartialFunction
is defined for the given value, otherwise returns an empty stream.
Returns the resulting stream when the given PartialFunction
is defined for the given value, otherwise returns an empty stream.
Attributes
Returns the resulting stream when the given PartialFunction
is defined for the given effectful value, otherwise returns an empty stream.
Returns the resulting stream when the given PartialFunction
is defined for the given effectful value, otherwise returns an empty stream.
Attributes
Inherited methods
Creates a stream from an asynchronous callback that can be called multiple times. The optionality of the error type E
can be used to signal the end of the stream, by setting it to None
.
Creates a stream from an asynchronous callback that can be called multiple times. The optionality of the error type E
can be used to signal the end of the stream, by setting it to None
.
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from an asynchronous callback that can be called multiple times. The registration of the callback returns either a canceler or synchronously returns a stream. The optionality of the error type E
can be used to signal the end of the stream, by setting it to None
.
Creates a stream from an asynchronous callback that can be called multiple times. The registration of the callback returns either a canceler or synchronously returns a stream. The optionality of the error type E
can be used to signal the end of the stream, by setting it to None
.
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from an asynchronous callback that can be called multiple times. The registration of the callback can possibly return the stream synchronously. The optionality of the error type E
can be used to signal the end of the stream, by setting it to None
.
Creates a stream from an asynchronous callback that can be called multiple times. The registration of the callback can possibly return the stream synchronously. The optionality of the error type E
can be used to signal the end of the stream, by setting it to None
.
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from an asynchronous callback that can be called multiple times. The registration of the callback itself returns an a scoped resource. The optionality of the error type E
can be used to signal the end of the stream, by setting it to None
.
Creates a stream from an asynchronous callback that can be called multiple times. The registration of the callback itself returns an a scoped resource. The optionality of the error type E
can be used to signal the end of the stream, by setting it to None
.
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from an asynchronous callback that can be called multiple times The registration of the callback itself returns an effect. The optionality of the error type E
can be used to signal the end of the stream, by setting it to None
.
Creates a stream from an asynchronous callback that can be called multiple times The registration of the callback itself returns an effect. The optionality of the error type E
can be used to signal the end of the stream, by setting it to None
.
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream of bytes from the specified file.
Creates a stream of bytes from the specified file.
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream of bytes from a file at the specified path represented by a string.
Creates a stream of bytes from a file at the specified path represented by a string.
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream of bytes from a file at the specified uri.
Creates a stream of bytes from a file at the specified uri.
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from a Java stream
Creates a stream from a Java stream
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from a Java stream
Creates a stream from a Java stream
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from a scoped Java stream
Creates a stream from a scoped Java stream
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from a scoped Java stream
Creates a stream from a scoped Java stream
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from a Java stream
Creates a stream from a Java stream
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from a Java stream
Creates a stream from a Java stream
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from a Java stream
Creates a stream from a Java stream
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from a Java stream
Creates a stream from a Java stream
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from a callback that writes to java.io.OutputStream
. Note: the input stream will be closed after the write
is done.
Creates a stream from a callback that writes to java.io.OutputStream
. Note: the input stream will be closed after the write
is done.
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream of bytes from a file at the specified path.
Creates a stream of bytes from a file at the specified path.
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from java.io.Reader
.
Creates a stream from java.io.Reader
.
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from scoped java.io.Reader
.
Creates a stream from scoped java.io.Reader
.
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from an effect producing java.io.Reader
.
Creates a stream from an effect producing java.io.Reader
.
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Creates a stream from the resource specified in path
Creates a stream from the resource specified in path
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Create a stream of accepted connection from server socket Emit socket Connection
from which you can read / write and ensure it is closed after it is used
Create a stream of accepted connection from server socket Emit socket Connection
from which you can read / write and ensure it is closed after it is used
Attributes
- Inherited from:
- ZStreamPlatformSpecificConstructors (hidden)
Concrete fields
Implicits
Implicits
Provides extension methods for streams that are sorted by distinct keys.
Provides extension methods for streams that are sorted by distinct keys.