If you want the inline function to decide when executing continues, you could use a loop to idle the command:
Inline C# Function: my inline function
Start Loop While : [~loopcontinue] Equals False
End Loop
Do more stuff in VA
And use the "SetBoolean" method inside the inline function to change "~loopcontinue" to "True", so the command proceeds.