Skip to content

tjconcept/psjoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Promise join

// npm install psjoin
// const join = require('psjoin')
import join from 'https://esm.sh/psjoin@1.0.0'
const a = Promise.resolve(1)
const b = Promise.resolve(2)
const c = Promise.resolve(4)
join(a, b, c, (a, b, c) => console.log(a + b + c))
// 7

About

Join several promises

Resources

Stars

Watchers

Forks

Packages

No packages published