Interface CallableSignal<T>

Signal interface which in addition to the base signal contract also allows calling the signal as a function to get the current value, so calling signal() does the same as calling signal.get().

interface CallableSignal<T = unknown> {
    get(): T;
    (): T;
}

Type Parameters

  • T = unknown

Hierarchy (View Summary)

Implemented by

Methods

Methods