Drain accumulated console events from the persistent session.
(&mut self)
| 403 | |
| 404 | /// Drain accumulated console events from the persistent session. |
| 405 | pub fn drain_console_events(&mut self) -> Vec<Value> { |
| 406 | std::mem::take(&mut self.console_events).into() |
| 407 | } |
| 408 | |
| 409 | pub(crate) fn push_event(&mut self, event: Value) { |
| 410 | // Only route events into the persistent buffers when the event's |