sindresorhus / p-event

Promisify an event by waiting for it to be emitted

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Needs timeout option

YurySolovyov opened this issue · comments

commented

It is often that you want to wait for something for some time and then just abort, or want​ to track some event not firing.

Agreed. PR welcome. Can be implemented by using https://github.com/sindresorhus/p-timeout