Skip to content
masterclass Buddy

Angular · Function

toSignal

Converts an RxJS Observable into an Angular Signal. The signal always exposes the latest emitted value and can clean up its subscription with the Angular injection context.

Last updated

Syntax

toSignal<T>(source: any, options?: ToSignalOptions<T>): Signal<T | undefined>

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • ToSignalOptions
  • toObservable
  • takeUntilDestroyed
  • outputFromObservable
  • outputToObservable

Source: toSignal • Angular. Checked 2026-11-03.