Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript pipe async functions

const pipeAwait = (...fns) => param => fns.reduce(async (result, next) => next(await result), param)
Source by github.com #
 
PREVIOUS NEXT
Tagged: #javascript #pipe #async #functions
ADD COMMENT
Topic
Name
6+5 =