mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit introduces an interface for `toSignal` options to mirror that of `toObservable`, and adjusts docs for both symbols. It also adds the ability for `toSignal` to manually specify `DestroyRef` (similarly to `toObservable` accepting an injector) or for `toSignal` automatic cleanup to be disabled (in which case the subscription persists until the Observable completes). Either option allows `toSignal` to be used outside of a DI context, like `toObservable`. PR Close #50071 |
||
|---|---|---|
| .. | ||
| rxjs-interop | ||
| testing | ||
| errors.md | ||
| global_utils.md | ||
| index.md | ||