# GetAsyncTasksRangeResponse

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.GetAsyncTasksRangeResponse/

A structure that specifies the response type for the WaitForAsyncTaskCompletion method.

- **Full name:** `MFiles.GetAsyncTasksRangeResponse`
- **Proto file:** [`mfiles/IRPCBackgroundOperationsAdmin.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/IRPCBackgroundOperationsAdmin.proto)
- **Response of:** [IRPCBackgroundOperationsAdmin.GetAsyncTasksRange](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCBackgroundOperationsAdmin/GetAsyncTasksRange/index.md)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-async_tasks"></a>`async_tasks` | repeated [`AsyncTask`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.AsyncTask/index.md) | 1 | The tasks, in the order given by `latest`. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCBackgroundOperationsAdmin.WaitForAsyncTaskCompletion](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCBackgroundOperationsAdmin/WaitForAsyncTaskCompletion/index.md): Waits until the given asynchronous tasks have finished, then optionally returns a list of tasks.

<a id="used-in-fields"></a>

## Used in fields

- [`WaitForAsyncTaskCompletionResponse.tasks_response`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCBackgroundOperationsAdmin/WaitForAsyncTaskCompletion/index.md#response): The result of `tasks_request`; unset if the request had none.
