Take the pending `Ready` output. Caller must execute messages, persist hard state, and apply committed entries.
(&mut self)
| 145 | /// Take the pending `Ready` output. Caller must execute messages, |
| 146 | /// persist hard state, and apply committed entries. |
| 147 | pub fn take_ready(&mut self) -> Ready { |
| 148 | std::mem::take(&mut self.ready) |
| 149 | } |
| 150 | |
| 151 | /// Advance `last_applied` after the caller has applied entries. |
| 152 | pub fn advance_applied(&mut self, applied_to: u64) { |