Failed attempt at allowing async functions to be passed as `thing`: This will need a complete redesign to support this and I don"t care enough right now to do it.
_call(thing).then(resolve);//XXX: This design doesn't work, we'll need to go back to the drawing board with this function for this to work... The exception won't propagate here, so...
}catch(e){reject(e);}
}catch(e){reject(e);}
},interval);
},interval);
});
});
@ -26,7 +37,7 @@ function AsyncTimeout(thing, interval)