@ovos-media/simple-promise-queue

    1.0.12 • Public • Published

    npm (scoped) Travis branch

    simple-promise-queue

    easily make your async functions queueable!

    import queueable from '@ovos-media/simple-promise-queue';
     
    // just wrap your function to control execution sequence!
    const queueableAsyncFunction = queueable(
      asyncFunction, 
      { concurrency: 1 }
    );
     
    // or as a decorator!
    @queueable async function() {
      return request(...);
    }

    Maintainers

    @flipace, @unhawkable

    ovos media gmbh, @ovos, Visit us!

    License

    MIT

    Keywords

    none

    Install

    npm i @ovos-media/simple-promise-queue

    DownloadsWeekly Downloads

    165

    Version

    1.0.12

    License

    MIT

    Unpacked Size

    15 kB

    Total Files

    7

    Last publish

    Collaborators

    • xash
    • marcingil
    • flipace
    • bonnevoyager
    • mhawk
    • visuallization
    • asovos
    • milanorszagh
    • denis.loncaric
    • ovos_bot
    • adifuchs
    • namek_ovos