???came a new c-block in it called do in parallel
I can't see one
What does it do?
Not looked at code but couldn't you just add a wait block inside the custom block or after calling it from a main script?but you can't say to GP it should whait with the refresh until the custom block is finished.