package
0.27.2
Repository: https://github.com/stashapp/stash.git
Documentation: pkg.go.dev

# Functions

IsCancelled returns true if cancel has been called on the context.
MakeJobExec returns a simple JobExec implementation using the provided function.
NewManager initialises and returns a new Manager.

# Constants

ProgressIndefinite is the special percent value to indicate that the percent progress is not known.
StatusCancelled means that the job was cancelled and is now stopped.
StatusFailed means that the job failed.
StatusFinished means that the job was completed.
StatusReady means that the Job is not yet started.
StatusRunning means that the job is currently running.
StatusStopping means that the job is cancelled but is still running.

# Structs

Job represents the status of a queued or running job.
Manager maintains a queue of jobs.
ManagerSubscription is a collection of channels that will receive updates from the job manager.
Progress is used by JobExec to communicate updates to the job's progress to the JobManager.

# Interfaces

JobExec represents the implementation of a Job to be executed.

# Type aliases

Status is the status of a Job.