@kayahr/signal
    Preparing search index...

    Function untrack

    • Runs a function without tracking reads as dependencies of the currently active computation.

      This is useful when a memo or effect needs a one-off value read without subscribing to future changes of that dependency.

      Type Parameters

      • T

      Parameters

      • func: () => T

        The function to execute without dependency tracking.

      Returns T

      The value returned by func.