package
1.11.0
Repository: https://github.com/evilsocket/islazy.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewQueue creates a new job queue with a specific worker logic.
WithTimeout will execute the callback and return its value or a ErrTimeout if its execution will exceed the provided duration.

# Variables

ErrTimeout happens when there's a timeout ..

# Structs

WorkQueue is the object representing an async jobs queue with a given number of concurrent workers.

# Interfaces

Job is the generic interface object representing the data being pushed to the jobs queue and being passed to the workers.

# Type aliases

Logic is the implementation of the logic each worker will execute.
TimedCallback represents a generic function with a return value.