@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

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

    Package Sidebar

    Install

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

    Weekly Downloads

    84

    Version

    1.0.12

    License

    MIT

    Unpacked Size

    15 kB

    Total Files

    7

    Last publish

    Collaborators

    • es-ovos
    • khaldoun1
    • marcingil
    • flipace
    • bonnevoyager
    • mhawk
    • milanorszagh
    • denis.loncaric
    • ovos_bot
    • adifuchs