Interface FgContext
interface FgContext {
connectionValues: Record<string, FgValue>;
executionVariables: Record<string, unknown>;
pending: FgPendingTask[];
rightHanded: boolean;
userVariables: Record<string, FgValue>;
}
connectionValues: Record<string, FgValue>;
executionVariables: Record<string, unknown>;
pending: FgPendingTask[];
rightHanded: boolean;
userVariables: Record<string, FgValue>;
}
Index
Properties
Readonlyconnection Values
Data transport slots: ${blockId}:${socket} → last value the producer
wrote. NOT a validity cache — producers recompute on every pull.
Readonlyexecution Variables
executionVariables: Record<string, unknown>
Per-block scratch: ${blockId}:${key} → value (counters, async tokens,
the data-pull resolving guard, last event payload).
Readonlypending
Async task records, ticked each frame (deduped; carry cancel tokens).
Readonlyright Handed
rightHanded: boolean
glTF graphs are right-handed; drives Z/handedness coercion on read.
Readonlyuser Variables
Live graph variable values (seeded from FgGraph.variables).
Per-execution-instance MUTABLE state — plain data.