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