Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Dumuz |
I have an issue with _process constantly accessing a function that calls a yield on itself under certain parameters met, waiting for a signal to continue. But _process, keeps accessing it and using it’s other statements.
I want _process to be able to check if the said function is still currently yielded and not to access it.
Is there a way to do this? Or perhaps have process simply ignore a function even if it’s own parameters tell it to get it?
Hope this makes sense
Still hoping for help on this.
Dumuz | 2019-12-09 02:17
You could just set a yeilded
variable to true before the yeild statement and false afterward
andersmmg | 2019-12-11 20:15