func (*TaskRunner) RunAll(ctx context.Context) errorRun the runner until there are no more tasks available.
Use RunAll for finite worker processes and local draining workflows. Use RunForever for long-running runners.
Parameters
Section titled “Parameters”ctx context.Context required The context controlling the runner lifetime.
Returns
Section titled “Returns”An error if the polling loop fails.