MadelineProto icon indicating copy to clipboard operation
MadelineProto copied to clipboard

Why is the onStart method fired twice?

Open sathia-musso opened this issue 2 years ago • 0 comments

I need to start several checks that need yielding, if I put them on the onStart method i see that the event is fired several times, which disrupts a bit the way things should work. I haven't found a way to make sure that onStart is called once only

I have my onUpdateNewMessage firing correctly, but I also need to attach a loop to the main loop when the program is started and also send some messages upon receiving events from Redis (async)

Any idea?

sathia-musso avatar Jul 04 '22 17:07 sathia-musso