MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / init

Function init

pkg/queue/task.go:119–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117)
118
119func init() {
120 gob.Register(Progresses{})
121}
122
123// RegisterResumableTaskFactory registers a resumable Task factory
124func RegisterResumableTaskFactory(taskType string, factory ResumableTaskFactory) {

Callers

nothing calls this directly

Calls 15

IDFunction · 0.92
persistTaskFunction · 0.85
RegisterMethod · 0.80
IncSuspendingTaskMethod · 0.80
DecSuspendingTaskMethod · 0.80
IncFailureTaskMethod · 0.65
InfoMethod · 0.65
ExecutedMethod · 0.65
RetriedMethod · 0.65
IncSuccessTaskMethod · 0.65
CleanupMethod · 0.65
ErrorMethod · 0.65

Tested by

no test coverage detected