Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ready()函数的作用 #35

Open
LuSingTea opened this issue Jul 15, 2020 · 1 comment
Open

ready()函数的作用 #35

LuSingTea opened this issue Jul 15, 2020 · 1 comment
Labels

Comments

@LuSingTea
Copy link

  1. ready()函数有什么作用
  2. this.onResolver()和await onPromise有什么区别
@huan huan added the question label Jul 15, 2020
@huan
Copy link
Owner

huan commented Jul 15, 2020

What does the `ready() function do

Could you please think about the below question, and let me know your answer?

If we have no ready() function in this module, can this module does its job correctly? If the answer is no, why?

onResolver v.s. onPromise

Please provide a use case with a code example for your question to explain it in detail, so that we can discussing based on your example code.

BTW: I believe this issue is related to wechaty/summer#4 , please correct me if I'm not right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants