package
0.0.0-20240611043459-b090c36d4494
Repository: https://github.com/pranavmodx/neoq-sqlite.git
Documentation: pkg.go.dev

# Functions

Concurrency configures Neoq handlers to process jobs concurrently the default concurrency is the number of (v)CPUs on the machine running Neoq.
DefaultRecoveryCallback is the function that gets called by default when handlers panic.
Exec executes handler functions with a concrete timeout.
JobTimeout configures handlers with a time deadline for every executed job The timeout is the amount of time that can be spent executing the handler's Func when a timeout is exceeded, the job fails and enters its retry phase.
MaxQueueCapacity configures Handlers to enforce a maximum capacity on the queues that it handles queues that have reached capacity cause Enqueue() to block until the queue is below capacity.
New creates new queue handlers for specific queues.
NewPeriodic creates new queue handlers for periodic jobs.
Queue configures the name of the queue that the handler runs on.
RecoverCallback configures the handler with a recovery function to be called when fatal errors occur in Handlers.

# Constants

No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Handler handles jobs on a queue.

# Type aliases

Func is a function that Handlers execute for every Job on a queue.
Option is function that sets optional configuration for Handlers.
RecoveryCallback is a function to be called when fatal errors/panics occur in Handlers.