package
0.2.2
Repository: https://github.com/caicaispace/gohelper.git
Documentation: pkg.go.dev

# Functions

ExecuteInParallel will (in parallel) call the provided function with each item in the queue until the queue is exhausted.
New is a constructor for a new threadsafe queue.
NewRunner returns a task runner.
No description provided by the author

# Constants

Cancelled job is cancelled.
Cancelling job is cancelling.
Failed job is failed when execute.
Finished job is complete.
Pending job is wait to running.
Running job is running.

# Variables

ErrDisposed is returned when an operation is performed on a disposed queue.
ErrEmptyQueue is returned when an non-applicable queue operation was called due to the queue's empty item state.
ErrJobCancelled error job cancelled.
ErrTimeout is returned when an applicable queue operation times out.

# Structs

Job is do for something with state.
Queue is the struct responsible for tracking the state of the queue.
Runner TODO.
No description provided by the author
No description provided by the author

# Type aliases

JobState is the job state.