We received a report about attempting to use yield() to force the externally submitted JS code to execute: https://youtrack.jetbrains.com/issue/KT-81765 This didn't work, as yield() normally only yields to other coroutines, not the JS runtime.
This issue is filed so that the discussion can continue in the more relevant place, the kotlinx.coroutines issue tracker.
There were some additional relevant points raised here: #4561