A queue manager to react-native projects
npm install react-native-queuelyimport queuely, {Worker} from 'react-native-queuely';
// CREATE THE WORKER
const DemoWorker = new Worker("demo", async (payload) => {
// DO SOMETHING WITH PAYLOAD;
});
// DEFINE THE WORKERS
queuely.configure({workers: [DemoWorker]});
// ADD JOBS TO THE WORKER
queue.addJob("demo", {
name: "steve",
age: 20,
});See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT