@huukhanhnguyen/model / schema/core
schema/core
ChainEntry
ChainEntry = [
NotifierHost,string]
Listener
Listener = (...
args) =>unknown&Unsubscribe
NamedEntry
NamedEntry = {
collection?:BaseCollectionHost;key?:string;name?:string;parent?:unknown; }
Subclass entries may carry dynamic identity fields (e.g. ParameterNode.key, block.label).
collection?
optionalcollection?:BaseCollectionHost
key?
optionalkey?:string
name?
optionalname?:string
parent?
optionalparent?:unknown
NodesLike
NodesLike = {
elements:unknown[];evaluate: () =>void;traverse: (visit) =>void; }
elements
elements:
unknown[]
evaluate
evaluate: () =>
void
Returns
void
traverse
traverse: (
visit) =>void
Parameters
visit
(node) => void
Returns
void
PullCell
PullCell = {
_epoch:number;isDirty:boolean;pending?:boolean; }
Any cached compute step: isDirty/_epoch gate re-entry and staleness; pending (when present) is the externally-observable "still settling" flag — omit it on internal chain sub-steps that have no outside observer.
_epoch
_epoch:
number
isDirty
isDirty:
boolean
pending?
optionalpending?:boolean
Rewalkable
Rewalkable = {
nodes: {evaluate: () =>void; }; }
nodes
nodes: {
evaluate: () =>void; }
evaluate
evaluate: () =>
void
Returns
void
Unsubscribe
Unsubscribe = {
onSubscribe?: (release) =>void; }
onSubscribe?
optionalonSubscribe?: (release) =>void
Parameters
release
() => void
Returns
void