wait for an event or convert event listener to promise

前端 未结 0 1716
一个人的身影
一个人的身影 2021-02-13 21:52

I am writing a code, where I have to call on library function used to validated the user. This function emits event on completing the validation.

I want to write an wrapp

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