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

Method OnStatusTransition

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

OnStatusTransition is called when the Task status is changed

(newStatus task.Status)

Source from the content-addressed store, hash-verified

67 OnIterationComplete(executed time.Duration)
68 // OnStatusTransition is called when the Task status is changed
69 OnStatusTransition(newStatus task.Status)
70
71 // Cleanup is called when the Task is done or error.
72 Cleanup(ctx context.Context) error

Callers 1

persistTaskFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected