Skip to content

yield() on JS not yielding to the JS runtime may be unexpected #4571

@dkhalanskyjb

Description

@dkhalanskyjb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions