Forces buffered data into the timely dataflow input, and advances its time to match that of the session. It is important to call `flush` before expecting timely dataflow to report progress. Until this method is called, all updates may still be in internal buffers and not exposed to timely dataflow. Once the method is called, all buffers are flushed and timely dataflow is advised that some logical
(&mut self)
| 80 | /// flushed and timely dataflow is advised that some logical times |
| 81 | /// are no longer possible. |
| 82 | pub fn flush(&mut self) { |
| 83 | // @TODO get rid of the double buffering maybe? |
| 84 | self.handle |
| 85 | .session(self.cap.clone()) |
| 86 | .give_iterator(self.buffer.drain(..)); |
| 87 | |
| 88 | if self.cap.time().less_than(&self.time) { |
| 89 | self.cap = self.cap.delayed(&self.time); |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | /// Advances the logical time for future records. |
| 94 | /// |
no outgoing calls
no test coverage detected