Future pipe(StreamConsumer <T> streamConsumer) { return(streamConsumer.addStream(this).then((_) => streamConsumer.close(), (_) => FutureOr.nil)); }