We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd48c1e commit 35be1d7Copy full SHA for 35be1d7
1 file changed
README.md
@@ -1640,14 +1640,14 @@ fetch('/api/foo').then(fetchBar(fetchBuz(doSomething)));
1640
function fetchBar(callback) {
1641
return function(responseFoo) {
1642
doSomething(responseFoo);
1643
- fetchBar(callback);
+ fetch('/api/bar').then(callback);
1644
};
1645
}
1646
1647
function fetchBuz(callback) {
1648
return function(responseBar) {
1649
doSomething(responseBar);
1650
- fetchBuz(callback);
+ fetch('/api/buz').then(callback);
1651
1652
1653
```
0 commit comments