Add optional timeout parameter to await*() methods
clue opened this issue · 1 comments
clue commented
Add optional timeout parameter to await*() methods
clue commented
This library currently focuses on awaiting promises. React's timers do currently use a different API, but they can easily be modeled after the Promise API. As such, it probably makes sense to build this on top of this implementation: reactphp/promise-timer#2