rxjs/operators APIs
- map
- catchError
- tap
- filter
- switchMap
- debounceTime
- takeUntil
- take
- distinctUntilChanged
- delay
- mergeMap
- first
- startWith
- finalize
- shareReplay
- concatMap
- share
- withLatestFrom
- mapTo
- skip
- dematerialize
- materialize
- pluck
- throttleTime
- timeout
- retry
- retryWhen
- pairwise
- takeWhile
- toArray
- scan
- mergeAll
- flatMap
- concatAll
- defaultIfEmpty
- reduce
- ignoreElements
- exhaustMap
- switchMapTo
- delayWhen
- last
- distinctUntilKeyChanged
- repeatWhen
- auditTime
- buffer
- mergeWith
- skipWhile
- bufferTime
- groupBy
- concatMapTo
- throttle
- merge
- count
- throwIfEmpty
- debounce
- refCount
- mergeScan
- combineLatestAll
- concatWith
- windowCount
- bufferWhen
- skipUntil
- endWith
- publishReplay
- bufferCount
- zipAll
- sample
- expand
Other Related APIs
- rxjs#of
- rxjs#Observable
- rxjs#BehaviorSubject
- rxjs#defer
- rxjs#asapScheduler
- rxjs#scheduled
- @angular/core#Injectable
- rxjs/operators#map
- rxjs/operators#switchMap
- rxjs/operators#take
- rxjs/operators#tap
- rxjs/operators#filter
- @angular/material/dialog#MatDialog
- @angular/material/snack-bar#MatSnackBar
- @angular/material/snack-bar#MatSnackBarConfig
rxjs/operators#zipAll TypeScript Examples
The following examples show how to use
rxjs/operators#zipAll.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: client.service.ts From App with MIT License | 6 votes |
canAccessAdminArea(): Observable<boolean> {
return scheduled([
this.hasPermission('MANAGE_REPORTS'),
this.hasPermission('MANAGE_ROLES'),
this.hasPermission('MANAGE_STACK'),
this.hasPermission('MANAGE_USERS'),
this.hasPermission('BAN_USERS')
], asapScheduler).pipe(
zipAll(),
map(perms => perms.filter(b => b === true).length > 0)
);
}