Function untrack

  • Get the value of a signal without subscribing to future updates.

    Type Parameters

    • T

    Parameters

    • fn: (() => T)
        • (): T
        • Returns T

    Returns T

    value returned from fn