Skip to main content
Run the runner continuously, polling for tasks when idle. RunForever stops when the context is canceled or when the process receives a supported shutdown signal.

Parameters

context.Context
required
The context controlling the runner lifetime.

Returns

An error if the polling loop fails.