通过示例来学习 RxJS 操作符 RxJS 操作符的完整列表,每个操作符都有着清晰的解释、相关资源和可执行的示例。 更喜欢按字母顺序排列的完整列表? 内容 (按操作符类型) 组合 combineAll combineLatest ⭐ concat ⭐ concatAll forkJoin merge ⭐ mergeAll race startWith ⭐ withLatestFrom ⭐ zip 条件 defaultIfEmpty every 创建 create empty from ⭐ fromEvent fromPromise ⭐ interval of ⭐ range throw timer 错误处理 catch / catchError ⭐ retry retryWhen 过滤 audit auditTime debounce debounceTime ⭐ distinctUntilChanged ⭐ filter ⭐ first ignoreElements last sample single skip skipUntil skipWhile take ⭐ takeUntil ⭐ takeWhile throttle throttleTime 多播 multicast publish share ⭐ 转换 buffer bufferCount bufferTime ⭐ bufferToggle bufferWhen concatMap ⭐ concatMapTo expand exhaustMap groupBy map ⭐ mapTo mergeMap / flatMap ⭐ partition pluck reduce scan ⭐ switchMap ⭐ window windowCount windowTime windowToggle windowWhen 工具 do / tap ⭐ delay ⭐ delayWhen finalize / finally let timeout toPromise ⭐ - 常用 其他资源 什么是操作符? 📰 - 官方文档 操作符是什么? 📹 💵 - André Staltz