code: function async(value, bool) {
     var def = promise()
     setTimeout(function() {
   	   if(!bool) def.fulfill(value)
       else def.reject('error')
     }, 10)
     return def.promise
   }
docs: Return value after 500ms using promises.
  
  @param  {Any} value
  @return {Promise}
  @api private