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

Method script_started

components/scheduler/src/scheduled_task_manager.rs:147–157  ·  view source on GitHub ↗
(&mut self, meta: &ScriptMeta)

Source from the content-addressed store, hash-verified

145 }
146
147 pub fn script_started(&mut self, meta: &ScriptMeta) {
148 for script_task_bucket in &meta.task_buckets {
149 if self.active_task_buckets.contains(script_task_bucket) {
150 continue;
151 }
152
153 self.active_task_buckets.push(script_task_bucket.clone());
154 }
155
156 self.clear_next();
157 }
158}
159
160pub type NextAction = crate::guild_handler::NextTimerAction;

Callers

nothing calls this directly

Calls 1

clear_nextMethod · 0.80

Tested by

no test coverage detected