puppet-service
puppet-service copied to clipboard
Support `ready` event
Need to compatible as many as puppet providers.
Trigger Method Candidates
- [ ] use
contactList()
array length for stablity checking
Or we can just take advantage of the ready event in various puppets.
We have a temp implementation in https://github.com/wechaty/wechaty-puppet-hostie/pull/60
I'm ok with that for a temporary workaround.
However, it's not that much value because the ready
event should stand for the stabilize of the contact/room loading. For example, after we re-installed the WeChat app on our phone, it has to load contacts/rooms from the server for a long time.
Let's keep thinking about this design and try to keep improving it in the future.