Mux

zio.blocks.mux.Mux
See theMux companion trait
object Mux

Multiplexer for ID-multiplexed protocols (HTTP/2, QUIC, etc.).

Manages multiple concurrent streams, each identified by a unique ID. Streams are independent and can be opened, closed, or cancelled independently.

Type parameters

Id

Stream identifier type (e.g., Int for HTTP/2)

In

Message type sent on streams

Out

Message type received on streams

Attributes

Companion
trait
Source
Mux.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Mux.type

Members list

Value members

Concrete methods

def apply[Id, In, Out](capacity: Int): Mux[Id, In, Out]

Attributes

Source
Mux.scala