Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    continuable-parapublic

    continuable-para

    turn multiple continuables into one in parallel.

    Example

    handle an array.

    para([
      continuable1,
      continuable2,
      continuable3
    ]) (function (err, ary) {
        console.log(ary)
        //[..,..,..] 
      })

    handle an array.

    para({
      A: continuable1,
      B: continuable2,
      C: continuable3
    }) (function (err, ary) {
        console.log(ary)
        //{A:.., B:..., C:...} 
      })

    trains form into array by default

    para(cont1, cont2, cont3) (function (err, ary) {
      console.log(ary)
      //[....] 
    })

    License

    MIT

    Keywords

    none

    install

    npm i continuable-para

    Downloadslast 7 days

    420

    version

    1.2.0

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar