code: function getDelay(start, interval) {
    const delta = process.hrtime(start);
    const nanosec = (delta[0] * 1e9) + delta[1];
    /* eslint no-bitwise: ["error", { "int32Hint": true }] */
    return Math.max((nanosec / 1e6 | 0) - interval, 0);
  }
docs: Get the dalay of interval
  @param {Array} start The start time
  @param {Number} interval The value of interval, ms
  @returns {Number} The dalay ms