Skip to content

PollingTaskRunner.RunForever

func (*PollingTaskRunner) RunForever(ctx context.Context) error

Run the polling runner continuously, polling for tasks when idle.

ctx context.Context required

The context controlling the polling loop lifetime.

An error if the polling loop fails.