Attributes
- Companion
- class
- Source
- Reader.scala
- Graph
-
- Supertypes
- Self type
-
Reader.type
Members list
Type members
Classlikes
A reader whose pull and lifecycle operations may suspend.
A reader whose pull and lifecycle operations may suspend.
Attributes
- Source
- Reader.scala
- Supertypes
- Self type
-
AsyncReader[Elem]
Attributes
- Source
- Reader.scala
- Supertypes
- Known subtypes
-
class SyncInterpreter
- Self type
-
SyncReader[Elem]
Value members
Concrete methods
A reader that is already closed. read returns null; readByte returns -1. The element type is Nothing — a closed reader emits no elements and widens by covariance to any Reader[Elem].
A reader that is already closed. read returns null; readByte returns -1. The element type is Nothing — a closed reader emits no elements and widens by covariance to any Reader[Elem].
Attributes
- Source
- Reader.scala
A reader backed by a zio.blocks.chunk.Chunk. Emits all elements in index order, then closes. No virtual thread or queue needed.
A reader backed by a zio.blocks.chunk.Chunk. Emits all elements in index order, then closes. No virtual thread or queue needed.
Attributes
- Source
- Reader.scala
Wraps a java.io.InputStream as a Reader[Byte].
A reader backed by an Iterable. Emits all elements in iteration order, then closes. No virtual thread or queue needed.
A reader backed by an Iterable. Emits all elements in iteration order, then closes. No virtual thread or queue needed.
Attributes
- Source
- Reader.scala
A reader backed by a Scala Range. Emits integers in range order, then closes. No virtual thread or queue needed.
A reader backed by a Scala Range. Emits integers in range order, then closes. No virtual thread or queue needed.
Attributes
- Source
- Reader.scala
Wraps a java.io.Reader as a Reader[Char].
Creates an infinite reader that always emits a. The reader sets repeat mode on a single reader so it never closes.
Creates an infinite reader that always emits a. The reader sets repeat mode on a single reader so it never closes.
Attributes
- Source
- Reader.scala
A reader that restarts inner each time it closes cleanly. If it closes with an error (exception), the error is propagated. Used by Stream.Repeated.
A reader that restarts inner each time it closes cleanly. If it closes with an error (exception), the error is propagated. Used by Stream.Repeated.
Attributes
- Source
- Reader.scala
Asynchronous counterpart of repeated(SyncReader).
Preserves the statically unknown reader kind at runtime.
A reader that emits exactly one element then closes. Primitive types (Int, Long, Float, Double, etc.) use SingletonPrim for zero-boxing; reference types use SingletonGeneric.
A reader that emits exactly one element then closes. Primitive types (Int, Long, Float, Double, etc.) use SingletonPrim for zero-boxing; reference types use SingletonGeneric.
Attributes
- Source
- Reader.scala
Creates a Reader that emits exactly one Boolean, zero-boxing on the read path.
Creates a Reader that emits exactly one Boolean, zero-boxing on the read path.
Attributes
- Source
- Reader.scala
Creates a Reader that emits exactly one Byte through the Byte lane.
Creates a Reader that emits exactly one Char, zero-boxing on the read path.
Creates a Reader that emits exactly one Char, zero-boxing on the read path.
Attributes
- Source
- Reader.scala
Creates a Reader that emits exactly one Double, zero-boxing on the read path.
Creates a Reader that emits exactly one Double, zero-boxing on the read path.
Attributes
- Source
- Reader.scala
Creates a Reader that emits exactly one Float, zero-boxing on the read path.
Creates a Reader that emits exactly one Float, zero-boxing on the read path.
Attributes
- Source
- Reader.scala
Creates a Reader that emits exactly one Int, zero-boxing on the read path.
Creates a Reader that emits exactly one Int, zero-boxing on the read path.
Attributes
- Source
- Reader.scala
Creates a Reader that emits exactly one Long, zero-boxing on the read path.
Creates a Reader that emits exactly one Long, zero-boxing on the read path.
Attributes
- Source
- Reader.scala
Creates a Reader that emits exactly one Short, zero-boxing on the read path.
Creates a Reader that emits exactly one Short, zero-boxing on the read path.
Attributes
- Source
- Reader.scala
A reader produced by unfolding state s with f. f returns None to signal completion, or Some((elem, nextState)) to emit an element and advance state. Closes when f returns None. No virtual thread or queue needed — read() never blocks.
A reader produced by unfolding state s with f. f returns None to signal completion, or Some((elem, nextState)) to emit an element and advance state. Closes when f returns None. No virtual thread or queue needed — read() never blocks.
Attributes
- Source
- Reader.scala
Creates a native asynchronous Reader by unfolding state s with f. Exactly one state callback may be active. The next state is committed only when that callback succeeds while its reader generation is still current.
Creates a native asynchronous Reader by unfolding state s with f. Exactly one state callback may be active. The next state is committed only when that callback succeeds while its reader generation is still current.
Attributes
- Source
- Reader.scala