coyield ( v -- result )


Vocabulary
coroutines

Inputs
van object


Outputs
resultan object


Word description
Suspend the current coroutine, leaving the value v on the stack when control is passed to the coresume caller. When this coroutine is later resumed, result will contain the value passed to coyield.

See also
*coyield, coyield*, coterminate

Definition