Skip to content

ScriptCoroutine

Hyomoto edited this page Jun 24, 2021 · 1 revision
Jump To Go Back Arguments Methods Variables

ScriptCoroutine( script, data )

Implements: Struct

ScriptCoroutine is used by evaluate_expression and ScriptEngine for wrapping up Scripts that yield during execution. They are typically cleaned up once a function has finished yielding. This constructor has no error checking to keep it as quick as possible, and should not be necessary outside of it's provided contexts.

Arguments

Name Type Purpose
script [Script](script) A Script
data struct A structure containing script state

Methods

Jump To top execute is_yielded

execute( _global )

Name Type Purpose
_global undef No description

No description.


is_yielded( )

Name Type Purpose
None

No description.


Variables

Jump To top
Name Type Initial Purpose
__Script undef _script No description.
__Data undef _data No description.
Clone this wiki locally