Skip to content

Permit sending arbitrary closures through ports within isolate group on the VM #40370

@mraleph

Description

@mraleph

We currently prohibit sending arbitrary closures through ports. I think this restrictions originates from the web where it is impossible to send a closure represented as a JS closure through a port to a web worker. This restriction however does not make any sense in the VM.

I suggest lifting it unless somebody has any objections.

/cc @leafpetersen @lrhn @vsmenon

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-isolate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions