Skip to content

pivotick v3.0.0


pivotick / InterractionCallbacks / IngestDecision

Type Alias: IngestDecision ​

IngestDecision = boolean | { accept: boolean; edges?: RawEdge[]; nodes?: RawNode[]; }

Defined in: interfaces/InterractionCallbacks.ts:551

The decision returned by InterractionCallbacks.onBeforeIngest.

true ingests the whole batch, false vetoes it. The object form narrows: each supplied array replaces that kind's set, matched by id, and an omitted key leaves it as requested.