package
Version:
v1.16.1-alpha
Opens a new window with list of versions in this module.
Published: Jul 17, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Job struct {
Run func() error
OnFail func(error)
}
prefers users with fewer running jobs, otherwise it's FIFO
func NewQueue(queueSize, numWorkers int) *Queue
todo(dawn): add a per-user cap so a single user can't fill the queue
Source Files
¶
Click to show internal directories.
Click to hide internal directories.