• Genel Bakış
@angular/core

Signal

Tür Takma Adı
kararlıv17.0'den beri

A reactive value which notifies consumers of any changes.

API

    
      type Signal<T> = (() => T) & {  [SIGNAL]: unknown;}
    
    

Description

A reactive value which notifies consumers of any changes.

Signals are functions which returns their current value. To access the current value of a signal, call it.

Ordinary values can be turned into Signals with the signal function.

Detaylara atla