Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/workflow / / Channel
Type Alias: Channel<T>
ts
type Channel<T> =
| LatestValue<T>
| AnyValue<T>
| Reducer<T>
| ListAggregate<T>
| Stream<T>
| Barrier<T>
| Ephemeral<T>;Defined in: packages/core/dist/channels/channels.d.ts:24
Discriminated union of every channel descriptor.
Channels are a description of the merge strategy, not a runtime value: the engine reads the kind field plus optional auxiliary fields (reduce, from, unique) to decide how to combine writes.
Type Parameters
| Type Parameter | Default type |
|---|---|
T | unknown |