Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/memory / / createConsolidatorPlaceholder
Function: createConsolidatorPlaceholder()
ts
function createConsolidatorPlaceholder(options?): Consolidator;Defined in: packages/memory/src/consolidator/index.ts:143
Build a no-op consolidator that honours the full Consolidator interface but performs no background work. Useful for consumers that want the typed shape (e.g., unit tests of higher tiers) but do not pay the runtime cost of triggers / locking / DLQ.
Phase 10c's createConsolidator is the production factory.
Parameters
| Parameter | Type |
|---|---|
options | { tier?: ConsolidatorTier; triggers?: readonly ConsolidatorTriggerSpec[]; } |
options.tier? | ConsolidatorTier |
options.triggers? | readonly ConsolidatorTriggerSpec[] |