package
0.44.2
Repository: https://github.com/grafana/agent.git
Documentation: pkg.go.dev

# Functions

New creates a new Runner which manages workers for a given Task type.

# Structs

The Runner manages a set of running Workers based on an active set of tasks.

# Interfaces

A Task is a payload that determines what a Worker should do.
A Worker is a goroutine which performs business logic for a Task which is assigned to it.