Small clarification needed regarding Resumable Sub/Wait for Event consumption
I have a sub called TTSCompleted which is called by a lib
in main code I use the following statement
When the event happens "Wait for" apparently resumes but the Sub TTSCompleted is not called
If I remove "wait for" then Sub is called normally.
So, my question is
1. Are events getting consumed and not pass to all listeners?
2. What can be done to have both sub and "wait for" receive the event?
Thanks!
I have a sub called TTSCompleted which is called by a lib
in main code I use the following statement
B4X:
Wait for TTSCompleted
When the event happens "Wait for" apparently resumes but the Sub TTSCompleted is not called
If I remove "wait for" then Sub is called normally.
So, my question is
1. Are events getting consumed and not pass to all listeners?
2. What can be done to have both sub and "wait for" receive the event?
Thanks!