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