> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tilebox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PollingTaskRunner.HasActiveTask

```go theme={"system"}
func (*PollingTaskRunner) HasActiveTask() bool
```

Report whether the polling runner currently has an active task.

## Returns

`true` if a task is currently active.

<RequestExample>
  ```go Go theme={"system"}
  if runner.HasActiveTask() {
      slog.Info("runner has an active task")
  }
  ```
</RequestExample>
