# Functions
NewTaskPoolProcessor creates a new TaskPoolProcessor with the provided options.
NewWorkerPool creates a new WorkerPool with the given number of workers.
No description provided by the author
This function takes an asynq client as input and returns an option.
WithLogger returns a new TaskPoolProcessor with the given logger.
WithMaxRetry sets the maximum number of retry attempts for a given task.
No description provided by the author
WithRedisClient returns a new TaskPoolProcessor that uses the given Redis connection.
No description provided by the author
No description provided by the author
WithTaskResultTTL returns a new TaskPoolProcessor with the given task result.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
This implementation defines a WorkerPool struct that contains a channel of channels (workers) that can hold a maximum of `max-workers` worker channels
To use the goroutine pool, you can create a WorkerPool instance and start it:
```go pool := NewWorkerPool(10) pool.Start() ```.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author