background-tasks

1.0.0 • Public • Published

Background-Tasks

Queue background tasks for NodeJS on another thread!

Requires NodeJS V12.5 or higher!

Installation

  • NPM: npm i -s background-tasks
  • Yarn: yarn add background-tasks

Example

const BackgroundTasks = require("background-tasks");
let threadManager = new BackgroundTasks();
threadManager.executeNow(() => {
  // Do stuff on another thread!
});

For a compleat example, look here!

Linkss

Package Sidebar

Install

npm i background-tasks

Weekly Downloads

1

Version

1.0.0

License

GPL-3.0

Unpacked Size

49.7 kB

Total Files

7

Last publish

Collaborators

  • paultje52