Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/core / / stream
Function: stream()
ts
function stream<T>(opts?): Stream<T>;Defined in: packages/core/src/channels/channels.ts:171
Construct a Stream channel.
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
opts? | { default?: readonly T[]; unique?: boolean; } |
opts.default? | readonly T[] |
opts.unique? | boolean |
Returns
Stream<T>