title: loop to check for property on object
body: <p>how would i go about constructing a loop that keeps going with a small delay, this loop would check if an object property is not = null, the loop would timeout after x seconds.</p>
  
  <p>The thing is i am waiting for another object to set a HTTP response property, is this bad practise or?</p>