Skip to content
Permalink
Branch: master
Commits on Nov 22, 2019
  1. feat: remove delay dependency

    jbr committed Nov 22, 2019
    this commit uses delay from utils in typescript and adds a simple
    test/fixtures/delay.js for use in javascript fixtures. this change also
    allowed the ts compiler to identify a promise that was not `await`ed in
    src/test/test_worker.ts
Commits on Nov 21, 2019
  1. feat: remove dependence on Bluebird.delay #67

    jbr committed Nov 21, 2019
    This approach uses a simple setTimeout-based delay in the only production
    usage (src/classes/queue-events.ts), defined in src/util.ts, and since
    there was already a devDependency on a library called
    [delay](https://www.npmjs.com/package/delay), this commit uses that in
    test contexts. It should be easy to replace that dep with a
    `(ms:number) => new Promise(r => setTimeout(r, ms))` as well.
    
    Closes #67
Commits on Nov 20, 2019
  1. fix: avoid Job<->Queue circular json error

    jbr committed Nov 20, 2019
  2. fix: avoid the .toJSON serializer interface #70

    jbr committed Nov 20, 2019
    renames Job#toJSON to Job#asJSON and adds a test
You can’t perform that action at this time.