Apollo V2 (on GitHub) uses YYRunnerInterface, which could have per-platform bugs/differences.
Apollo V1 (latest on itch/marketplace) doesn’t do anything special, any time you access something from GML side, the extension function suspends the Lua state and returns, then another call resumes it with fetched value(s).