puppet-service icon indicating copy to clipboard operation
puppet-service copied to clipboard

Support `ready` event

Open huan opened this issue 4 years ago • 2 comments

Need to compatible as many as puppet providers.

Trigger Method Candidates

  • [ ] use contactList() array length for stablity checking

huan avatar Mar 23 '20 18:03 huan

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

windmemory avatar Aug 13 '20 09:08 windmemory

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.

huan avatar Aug 13 '20 10:08 huan