function* delayInMsSteps (count = 20, msMultiplier = 2000) {
  for (let i = 2; i < (count + 2); i++) {
    yield Math.round(Math.log2(i) * msMultiplier)
  }
}
/**
 * Generate a series of `count` numbers in a `2000 * log2` progression for use as a series
 * of millisecond delays. This is useful for progressively waiting a bit longer between
 * REST polling calls.
 *
 * @param {number} count Number of steps to generate, default to 20
 * @param {number} msMultiplier Millisecond multiplier at each step (each step will be at least
 *                              this big), default to 2000
 */
Generate a series of `count` numbers in a `2000 * log2` progression for use as a series
of millisecond delays. This is useful for progressively waiting a bit longer between
REST polling calls.

@param {number} count Number of steps to generate, default to 20
@param {number} msMultiplier Millisecond multiplier at each step (each step will be at least
this big), default to 2000
Generate a series of ` count ` numbers in a ` 2000 * log2 ` progression for use as a series of millisecond delays . This is useful for progressively waiting a bit longer between REST polling calls . @param { number } count Number of steps to generate default to 20 @param { number } msMultiplier Millisecond multiplier at each step ( each step will be at least this big ) default to 2000
function* delayInMsSteps (count = 20, msMultiplier = 2000) {
  for (let i = 2; i < (count + 2); i++) {
    yield Math.round(Math.log2(i) * msMultiplier)
  }
}
function * delayInMsSteps ( count = 20 , msMultiplier = 2000 ) { for ( let i = 2 ; i < ( count + 2 ) ; i ++ ) { yield Math . round ( Math . log2 ( i ) * msMultiplier ) } }
Generate a series of `count` numbers in a `2000 * log2` progression for use as a series
 of millisecond delays.
Generate a series of ` count ` numbers in a ` 2000 * log2 ` progression for use as a series of millisecond delays .