The Wayback Machine - https://web.archive.org/web/20250419051808/https://angular.dev/api/core/Signal
    • 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
HTTPS · web.archive.org
← Home