Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/agent / fanout / runFanOut

Function: runFanOut()

ts
function runFanOut<TOutput>(opts): Promise<FanOutResult<TOutput>>;

Defined in: packages/agent/src/fanout/index.ts:210

Run a fan-out and produce the aggregate FanOutResult. Pure with respect to side effects — the runtime emits events / audit rows / counter increments via the supplied emit callback.

Type Parameters

Type Parameter
TOutput

Parameters

ParameterType
optsFanOutOptions&lt;TOutput&gt;

Returns

Promise<FanOutResult&lt;TOutput&gt;>

Stable