@ovos-media/simple-promise-queue

A simple promise queue helper with concurrency settings.

Stats

StarsIssuesVersionUpdatedCreatedSize
@ovos-media/simple-promise-queue
001.0.12a year ago4 years agoMinified + gzip package size for @ovos-media/simple-promise-queue in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.