Skip to main content
func (*PollingTaskRunner) RunAll(ctx context.Context) error
Run the polling runner until there are no more tasks available.

Parameters

ctx
context.Context
required
The context controlling the polling loop lifetime.

Returns

An error if the polling loop fails.
if err := runner.RunAll(ctx); err != nil {
    return err
}