untracked
untracked(read) invokes a synchronous callback and returns its result without
recording signal dependencies for the current consumer. It does not disable
component, primitive-render, computed, or scheduler write guards.
Related type: Signal.
API details from source
Section titled “API details from source”
Runs a callback without recording its signal reads as dependencies of the current consumer.
untracked: <T>(callback: () => T) => TRelated API: untracked.
Parameters
Section titled “Parameters”callback— Synchronous work whose reads should not register dependencies.
Returns
Section titled “Returns”The callback’s return value.
See also
Section titled “See also”View source — packages/core/src/lib/signals/graph.ts:1129
Implementation guidance for agents
Section titled “Implementation guidance for agents”Read the Authoring, signals, and lifecycle companion for ownership, adaptation, failure modes, and verification. Agent start provides the version-selection workflow.
Complete minimal examples
Section titled “Complete minimal examples”- Read and update signals: Use writable, readonly, and computed values with synchronous batching. Plain source
Documentation version
Section titled “Documentation version”Documentation built with @pibbl/core 0.0.2, revision 380919b. ALPHA — NOT FOR PRODUCTION USE.