Bit late but would like to ask is there some thing that needs to be done first for the first line of code to work? I am not so familiar with yields cant get it to work i might be missing something.
Thanks
HaptikRevamp | 2021-10-11 10:15
You don’t need to do anything extra. yield stops code execution and waits for what is inside the yield to complete.
So if there is a fragment of code which should be executed immediately it is better to place it above yield or use the second option with connect (written above).