MCPcopy
hub / github.com/ChineseSubFinder/ChineseSubFinder / isEmpty

Method isEmpty

pkg/task_queue/task_queue.go:423–425  ·  view source on GitHub ↗

isEmpty 对内,无锁

()

Source from the content-addressed store, hash-verified

421
422// isEmpty 对内,无锁
423func (t *TaskQueue) isEmpty() bool {
424 return t.taskKeyMap.Empty()
425}
426
427const (
428 taskPriorityCount = 10

Callers 5

GetOneWaitingJobMethod · 0.95
GetOneDoneJobMethod · 0.95
GetJobsByStatusMethod · 0.95
GetAllJobsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected