mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
committed by
Kristiyan Kostadinov
parent
3b2e8efcac
commit
bccc8c8d7d
@@ -99,7 +99,7 @@ taskService.run(async () => {
|
||||
});
|
||||
```
|
||||
|
||||
For more complicated use-cases, you can manuall add and remove a pending tasks:
|
||||
For more complicated use-cases, you can manually add and remove a pending task:
|
||||
|
||||
```typescript
|
||||
const taskService = inject(PendingTasks);
|
||||
@@ -114,7 +114,7 @@ try {
|
||||
```
|
||||
|
||||
In addition, the [pendingUntilEvent](/api/core/rxjs-interop/pendingUntilEvent#) helper in `rxjs-interop` ensures
|
||||
the application remains unstable until the observable emits, complets, errors, or is unsubscribed.
|
||||
the application remains unstable until the observable emits, completes, errors, or is unsubscribed.
|
||||
|
||||
```typescript
|
||||
readonly myObservableState = someObservable.pipe(pendingUntilEvent());
|
||||
|
||||
Reference in New Issue
Block a user