MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / QueueTask

Method QueueTask

pkg/queue/queue.go:25–25  ·  view source on GitHub ↗

SubmitTask submits a Task to the queue.

(ctx context.Context, t Task)

Source from the content-addressed store, hash-verified

23 Shutdown()
24 // SubmitTask submits a Task to the queue.
25 QueueTask(ctx context.Context, t Task) error
26 // BusyWorkers returns the numbers of workers in the running process.
27 BusyWorkers() int
28 // BusyWorkers returns the numbers of success tasks.

Callers 15

CreateDownloadTaskMethod · 0.65
CreateExtractTaskMethod · 0.65
CreateCompressTaskMethod · 0.65
CreateImportTaskMethod · 0.65
CreateTaskInSlaveFunction · 0.65
initFunction · 0.65
initFunction · 0.65
CreateUploadSessionMethod · 0.65
CancelUploadSessionMethod · 0.65
mediaMetaForNewEntityMethod · 0.65

Implementers 1

queuepkg/queue/queue.go

Calls

no outgoing calls

Tested by

no test coverage detected