Function futures::sink::flush
[−]
[src]
pub fn flush<S>(sink: S) -> Flush<S> where
S: Sink,
A future that completes when the sink has finished processing all pending requests.
The sink itself is returned after flushing is complete; this adapter is intended to be used when you want to stop sending to the sink until all current requests are processed.