Skip to content

splitStream

splitStream(stream, consumerCount): IRChatStream[]

Defined in: streaming.ts:286

Split a stream into multiple consumers.

IRChatStream

Original stream

number

Number of consumers

IRChatStream[]

Array of streams, one per consumer