• Overview
@angular/core

Signal

Type Alias

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.

Jump to details