---
title: "PollingTaskRunner.StopRequestingNewTasks"
description: "Stop requesting new tasks from the Tilebox API."
image: "https://tilebox.com/images/tilebox-docs-social-preview.png"
---

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

# PollingTaskRunner.StopRequestingNewTasks

import { Fragment } from "astro/jsx-runtime";

import ApiReference from "@docs/components/ApiReference.astro";

```go
func (*PollingTaskRunner) StopRequestingNewTasks()
```

Stop requesting new tasks from the Tilebox API.

The runner can still finish and report an active task after this method is called.

## Returns

Nothing.

<h2 id="request-example">Usage example</h2>

```go
runner.StopRequestingNewTasks()
```

Source: https://tilebox.com/docs/api-reference/go/workflows/PollingTaskRunner.StopRequestingNewTasks/index.mdx
