ReceivePort.receive() documentation unclear on if it can be called multiple times. Maybe should be a setter. #5506
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-obsolete
Closed as the reported issue is no longer relevant
library-isolate
The docs should be clear ReceivePort.receive() sets the message handler, rather than adding a new message handler.
dart:io uses setters, which makes this very clear, maybe receive() should be set onMessage().
The text was updated successfully, but these errors were encountered: