Future close()

Close the target consumer.

Source

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