Rulvar API reference / @rulvar/core / reduceInvocationTable
Function: reduceInvocationTable()
ts
function reduceInvocationTable(events): InvocationTable;Defined in: packages/core/src/l0/telemetry-reduce.ts:102
Reduces one run's event stream (or any slice of it) to the invocation table. Feed it the events in emission order; both a live stream and a replayed one produce the same usage and cost columns.
Parameters
| Parameter | Type |
|---|---|
events | Iterable<WorkflowEvent> |