MCPcopy Create free account
hub / github.com/devfeel/dottask / RemoveAllTask

Method RemoveAllTask

tasks.go:340–344  ·  view source on GitHub ↗

RemoveAllTask remove all task

()

Source from the content-addressed store, hash-verified

338
339// RemoveAllTask remove all task
340func (service *TaskService) RemoveAllTask() {
341 service.StopAllTask()
342 service.taskMap = make(map[string]Task)
343 service.Logger().Info("Task:RemoveAllTask")
344}
345
346// StopAllTask stop all task
347func (service *TaskService) StopAllTask() {

Callers

nothing calls this directly

Calls 3

StopAllTaskMethod · 0.95
LoggerMethod · 0.95
InfoMethod · 0.65

Tested by

no test coverage detected