ObservableStrategy
ObservableStrategy<
T> =object
Defined in: packages/three-flatland/src/observable/index.ts:62
Strategy that wires an observable value’s mutation surface and
captures field snapshots for memoization. The public contract for
teaching the observable system about a custom value type — call
attach to make a value reactive, snapshot to memoize it.
Type Parameters
Section titled “Type Parameters”T
Properties
Section titled “Properties”attach
Section titled “attach”
readonlyattach: (value,notify) =>void
Defined in: packages/three-flatland/src/observable/index.ts:63
Parameters
Section titled “Parameters”T
notify
Section titled “notify”() => void
Returns
Section titled “Returns”void
snapshot
Section titled “snapshot”
readonlysnapshot: (value) =>Snapshot
Defined in: packages/three-flatland/src/observable/index.ts:64
Parameters
Section titled “Parameters”T