# Functions

NewWorker creates a new worker ```go worker, err := NewWorker( WithRedisAddress("localhost:6379"), WithConcurrencyFactor(10), ) if err != nil { return err } defer worker.Stop() // start the worker asynchronously in another go routine go worker.Start() ```.
WithConcurrencyFactor sets the concurrency factor.
WithInstrumentationClient sets the instrumentation client.
WithRedisAddress sets the redis address.
WithTaskHandler sets the task handler.

# Variables

No description provided by the author
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

`type Worker struct` is defining a new struct type called `Worker`.

# Type aliases

Option is a function that configures a worker.