Update pipeAsyncFunctions.md
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: pipeAsyncFunctions
|
title: pipeAsyncFunctions
|
||||||
tags: adapter,function,promise,intermediate
|
tags: function,promise,intermediate
|
||||||
---
|
---
|
||||||
|
|
||||||
Performs left-to-right function composition for asynchronous functions.
|
Performs left-to-right function composition for asynchronous functions.
|
||||||
@ -23,4 +23,4 @@ const sum = pipeAsyncFunctions(
|
|||||||
(async () => {
|
(async () => {
|
||||||
console.log(await sum(5)); // 15 (after one second)
|
console.log(await sum(5)); // 15 (after one second)
|
||||||
})();
|
})();
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user