Interface Stream

interface Stream {
    add: ((name) => Promise<void>);
    remove: ((name) => Promise<void>);
}

Implemented by

Properties

Properties

add: ((name) => Promise<void>)

Add a stream by name.

Type declaration

    • (name): Promise<void>
    • Parameters

      • name: string

      Returns Promise<void>

remove: ((name) => Promise<void>)

Remove a stream by name.

Type declaration

    • (name): Promise<void>
    • Parameters

      • name: string

      Returns Promise<void>

Generated using TypeDoc