Wait for a number of seconds to pass.
Generator function
function *myCoroutineFunction() { yield* WaitForSeconds(1);} Copy
function *myCoroutineFunction() { yield* WaitForSeconds(1);}
Wait for a number of seconds to pass.