fast-wait
Delay a promise a specified amount of time. Always fast as possible. For empty delay it will try to resolve fast as possible. For delay > 0 it will use standard setTimeout
Usage
; { await ; // it will use Promise#then await ; // it will use setTimeout} ;
Performance
fast-wait x 10000 = 52mssetTimeout x 10000 = 12957ms
Support us
Star this project on GitHub.