MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / stop

Method stop

src/server/scheduler.rs:690–692  ·  view source on GitHub ↗

Stop the scheduler

(&self)

Source from the content-addressed store, hash-verified

688
689 /// Stop the scheduler
690 pub async fn stop(&self) {
691 *self.running.lock().await = false;
692 }
693
694 /// Get a handle to the running flag, allowing external code to stop the scheduler
695 pub fn running_flag(&self) -> Arc<Mutex<bool>> {

Callers 1

startMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected