DateQueue
A Queue that automatically executes specific (async) functions at a specific time (rounded to the second).
You can find the full documentation at https://docs.mo-mar.de/datequeue/, or have a look at the tests to see some real-world examples.
Are you just looking for a simple queue without timing?
Example usage
const DateQueue = ;const dq = ; // q.push(date, func, prio, data)q; // You can't use an arrow function if you want to access `this`.let x = q;