Skip to content

Function: onMosaicProducersChange()

onMosaicProducersChange(cb): () => void

Defined in: mosaic-registry.ts:106

Plain (non-reactive) change subscription — for engines that live outside any reactive owner (the facet binder runs from a durable store factory). Callbacks fire synchronously on every register/unregister; keep them cheap and NEVER read Solid signals inside one (the bump may originate inside an owned scope). Returns the unsubscribe.

Parameters

cb

() => void

Returns

() => void