func (*PollingTaskRunner) RunForever(ctx context.Context) errorRun the polling runner continuously, polling for tasks when idle.
Parameters
Section titled “Parameters”ctx context.Context required The context controlling the polling loop lifetime.
Returns
Section titled “Returns”An error if the polling loop fails.