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

Method IsCancelled

task.go:205–209  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203}
204
205func (task *TriggerTask) IsCancelled() bool {
206 task.triggerContextMu.Lock()
207 defer task.triggerContextMu.Unlock()
208 return task.currentScheduledTask.IsCancelled()
209}
210
211func (task *TriggerTask) Schedule() (ScheduledTask, error) {
212 task.triggerContextMu.Lock()

Callers 1

RunMethod · 0.95

Calls 1

IsCancelledMethod · 0.65

Tested by

no test coverage detected