GDScriptFunctionState.resume

Resume execution of the yielded function call. If handed an argument, return the argument from the @GDScript.yield call in the yielded function call. You can pass e.g. an Array to hand multiple arguments. This function returns what the resumed function call returns, possibly another function state if yielded again.

struct GDScriptFunctionState
@nogc nothrow
Variant
resume
(
VariantArg0
)
(
in VariantArg0 arg = Variant.nil
)

Meta