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

Method TaskRegistry

application/dependency/dependency.go:902–909  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

900}
901
902func (d *dependency) TaskRegistry() queue.TaskRegistry {
903 if d.taskRegistry != nil {
904 return d.taskRegistry
905 }
906
907 d.taskRegistry = queue.NewTaskRegistry()
908 return d.taskRegistry
909}
910
911func (d *dependency) Shutdown(ctx context.Context) error {
912 d.mu.Lock()

Callers 2

IoIntenseQueueMethod · 0.95
RemoteDownloadQueueMethod · 0.95

Calls 1

NewTaskRegistryFunction · 0.92

Tested by

no test coverage detected