dojo / core

:rocket: Dojo 2 - language helpers and utilities.
http://dojo.io
Other
213 stars 58 forks source link

Add the ability to delay executing a function. #215

Closed lzhoucs closed 8 years ago

lzhoucs commented 8 years ago

async/timing.delay() currently assumes a value will be returned. In some use cases, the user may want to delay executing a function that either returns a value or another promise. It would be nice to add this ability in async/timing.delay()