notifyContentState
Reconcile the current context’s last-empty flag and isEmpty ref with its current childrenWithContent count, propagating changes up the owner chain.
Call after mutating childrenWithContent. Safe to call when there is no active context — it just no-ops.
On every transition, both write the (lazily-allocated) isEmpty Ref (if present) AND invoke the internal empty-change callback (if present). Order is ref-first so external observers see the new Ref value before any internal mapJoin bookkeeping mutates dependent Refs.
import { notifyContentState } from "@alloy-js/core";
function notifyContentState(): void;Parameters
Section titled “Parameters”Returns
Section titled “Returns”void