Stream class

Constructors

Stream(string)

Properties

getReader
id
isClosed

Methods

close()
writeStreamChunk(IStreamChunk<TBuffer>)

Constructor Details

Stream(string)

new Stream(streamId?: string)

Parameters

streamId
string

Property Details

getReader

getReader: () => StreamReader<TBuffer>

Property Value

() => StreamReader<TBuffer>

id

id: string

Property Value

string

isClosed

isClosed: boolean

Property Value

boolean

Method Details

close()

function close()

writeStreamChunk(IStreamChunk<TBuffer>)

function writeStreamChunk(streamChunk: IStreamChunk<TBuffer>)

Parameters

streamChunk
IStreamChunk<TBuffer>