Queue events until ready

前端 未结 0 1513
被撕碎了的回忆
被撕碎了的回忆 2021-01-18 00:03

Is there a known way/implementation to queue events until the event emitter signals it is ready?

Something like:

init() {
   await sleep(2000);
   this         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题