Introduce vm annotation, use it on Future, Zone classes to prevent instances of those from being sent #51722
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
library-async
Sending some classes instances(Future, Zone, etc) across isolates can succeed or fail in hard to reason about fashion. It seems appropriate to restrict those from being sent across altogether.
As proposed on #51594 (comment) we should introduce vm annotation that would make it possible to prohibit those from being sent.
cc @mkustermann @lrhn
The text was updated successfully, but these errors were encountered: