Skip to content

Allow calling runOnPlatformThread() from helper isolates #150584

@liamappelbe

Description

@liamappelbe

Allow calling runOnPlatformThread() from helper isolates (but not for background service isolates). At the moment runOnPlatformThread() is only supported on the UI isolate. This is mainly just a matter of plumbing. There's a bunch of state that the platform thread needs access to, to create the platform isolate, that's currently only available on the UI isolate (primarily the task runners).

This issue is a spin off from #136314

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterengineflutter/engine related. See also e: labels.team-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions