close method

Future close()

Stops any more messages from being sent and releases any waiting LocalClosableReceiver.

Implementation

Future close() => _sink.close();