package
2.5.0+incompatible
Repository: https://github.com/microsoft/redutil.git
Documentation: pkg.go.dev

# Functions

New creates and returns a pointer to a new instance of a DefaultWorker.
NewLifecycle allocates and returns a pointer to a new instance of DefaultLifecycle.
NewTask initializes and returns a pointer to a new Task instance.

# Variables

ErrAlreadyResolved is returned from Task.Fail or Task.Succeed if the Task was already marked as having failed or resolved.
ErrNotFound is returned if you attempt to mark a task as complete or abandoned that wasn't registered in the lifecycle.

# Structs

DefaultLifecycle provides a default implementation of the Lifecycle interface.
A DefaultWorker is the bridge between Redutil Queues and the worker pattern.
A Task encapsulates a item coming off the main queue that needs to be "worked" on.

# Interfaces

The Janitor is used to assist in the tear down of dead workers.
No description provided by the author
No description provided by the author