W3cubDocs

/Dart 2

close method

void close ()

Closes this.

If the stream has not been canceled yet, adds a close-event to the event queue and discards any further incoming messages.

If the stream has already been canceled this method has no effect.

Implementation

void close();

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-isolate/ReceivePort/close.html