We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ef7076 commit 738633bCopy full SHA for 738633b
docs/advanced/cancellation.md
@@ -20,9 +20,9 @@ const apiSlow = async () => {
20
在 pipes 中,串联一个 `takeUntil` 操作符,这个操作符会“监听“取消信号 cancel$.
21
22
```javascript
23
- import rxloop, { call } from 'rxloop';
+ import rxloop from 'rxloop';
24
// ...
25
- getData(action$, cancel$) {
+ getData(action$, { call, map }) {
26
return action$.pipe(
27
call(async () => {
28
return await apiSlow();
0 commit comments