Streaminterface
Object describing an Interop stream.
Properties (2)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| definition⚓︎ | MethodDefinition | x | Stream definition object. |
|
| name⚓︎ | string | x | Name of the stream. |
7 Methods
branch()⚓︎
(key: string) => StreamBranch | undefined
branches()⚓︎
(key: string) => StreamBranch | undefined
Parameters (1)
| Name | Type | Required | Description |
|---|---|---|---|
| key⚓︎ | string | x |
branches()⚓︎
(key?: string) => StreamBranch | StreamBranch[] | undefined
Parameters (1)
| Name | Type | Required | Description |
|---|---|---|---|
| key⚓︎ | string | x | x |
push()⚓︎
(data: object, branches?: string | string[]) => void