MCPcopy Create free account
hub / github.com/codnect/chrono / Cancel

Method Cancel

task.go:199–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

197}
198
199func (task *TriggerTask) Cancel() {
200 task.triggerContextMu.Lock()
201 defer task.triggerContextMu.Unlock()
202 task.currentScheduledTask.Cancel()
203}
204
205func (task *TriggerTask) IsCancelled() bool {
206 task.triggerContextMu.Lock()

Callers

nothing calls this directly

Calls 1

CancelMethod · 0.65

Tested by

no test coverage detected