• 개요
@angular/core

Signal

타입 별칭
안정화v17.0부터

A reactive value which notifies consumers of any changes.

API

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

설명

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.

상세 내용으로 이동