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

Method new

components/scheduler/src/interval_timer_manager.rs:22–24  ·  view source on GitHub ↗
(plugin_id: Option<u64>, name: String)

Source from the content-addressed store, hash-verified

20
21impl TimerId {
22 pub fn new(plugin_id: Option<u64>, name: String) -> Self {
23 TimerId(plugin_id, name)
24 }
25
26 pub fn identifies_timer(&self, timer: &IntervalTimer) -> bool {
27 timer.plugin_id == self.0 && timer.name == self.1

Callers

nothing calls this directly

Calls 2

TimerIdClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected