Skip to content

Scrypted Documentation / StreamService

Interface: StreamService<Input, Output>

Generic bidirectional stream connection.

Type Parameters

Input

Output = Input

Methods

connectStream()

connectStream(input?, options?): Promise<AsyncGenerator<Output, void, any>>

Parameters

input?: AsyncGenerator<Input, void, any>

options?: any

Returns

Promise<AsyncGenerator<Output, void, any>>