Skip to main content
func (*PollingTaskRunner) IsRequestingTasks() bool
Report whether the polling runner is currently requesting new tasks.

Returns

true if the runner is requesting new tasks.
if runner.IsRequestingTasks() {
    slog.Info("runner is requesting tasks")
}