Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/workflow / / barrier
Function: barrier()
ts
function barrier<T>(from, opts?): Barrier<T>;Defined in: packages/core/dist/channels/channels.d.ts:143
Construct a Barrier channel.
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
from | readonly string[] |
opts? | { default?: T; } |
opts.default? | T |
Returns
Barrier<T>