Ironium v0.11.0 Release Notes

  • ➕ ADDED queue.delay works just like queue.push but delays processing of the job.

    queue.delay(job, duration, callback?)
    

    0️⃣ Duration is either a number or a string. The default unit is milliseconds, but you can specify a string with units, such as "5m" or "3 hours".

    Valid units are ms, seconds, minutes, hours, days and years. You can write each unit as plural ("1 hours"), singular ("1 hour") or first letter only ("1h").