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

Function WithResumeTaskType

pkg/queue/options.go:81–85  ·  view source on GitHub ↗

WithResumeTaskType set resume Task type

(types ...string)

Source from the content-addressed store, hash-verified

79
80// WithResumeTaskType set resume Task type
81func WithResumeTaskType(types ...string) Option {
82 return OptionFunc(func(q *options) {
83 q.resumeTaskType = types
84 })
85}
86
87// WithWorkerCount set worker count
88func WithWorkerCount(num int) Option {

Callers 4

MediaMetaQueueMethod · 0.92
IoIntenseQueueMethod · 0.92
RemoteDownloadQueueMethod · 0.92
EntityRecycleQueueMethod · 0.92

Calls 1

OptionFuncFuncType · 0.70

Tested by

no test coverage detected