function rejectAfter (milliseconds, errorMessage) {
  return new Promise((resolve, reject) => {
    later(reject, new Error(errorMessage), milliseconds);
  });
}
function rejectAfter (milliseconds, errorMessage) {
  return new Promise((resolve, reject) => {
    later(reject, new Error(errorMessage), milliseconds);
  });
}
function rejectAfter ( milliseconds , errorMessage ) { return new Promise ( ( resolve , reject ) => { later ( reject , new Error ( errorMessage ) , milliseconds ) ; } ) ; }
TODO: move this to utils reject with an error after so many milliseconds
TODO : move this to utils reject with an error after so many milliseconds