MCPcopy Create free account
hub / github.com/Botloader/botloader / discard_broken_session

Method discard_broken_session

components/scheduler/src/guild_handler.rs:498–502  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

496 }
497
498 async fn discard_broken_session(&mut self) {
499 // reason-based scheduler notifications are still sent from within,
500 // only the stop signal is dropped here
501 let _ = self.handle_session_events(vec![SessionEvent::Broken]).await;
502 }
503
504 pub(crate) async fn reload_guild_scripts(&mut self) {
505 self.try_retry_load_guild_scripts().await;

Callers 3

start_fresh_vmMethod · 0.80
dispatch_worker_evtMethod · 0.80
shutdownMethod · 0.80

Calls 1

handle_session_eventsMethod · 0.80

Tested by

no test coverage detected