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

# XAsync (API contents)

> XAsync

Reference material for XAsync APIs.

## Functions

| Function | Description |
| - | - |
| [XAsyncCancel](https://docs.xbox.com/reference/system/xasync/functions/xasynccancel.md) | Attempts to cancel an asynchronous call. |
| [XAsyncCompletionRoutine](https://docs.xbox.com/reference/system/xasync/functions/xasynccompletionroutine.md) | Represents the completion callback for an asynchronous call. |
| [XAsyncGetResultSize](https://docs.xbox.com/reference/system/xasync/functions/xasyncgetresultsize.md) | Returns the required size of the buffer to pass to [XAsyncGetResult](https://docs.xbox.com/reference/system/xasyncprovider/functions/xasyncgetresult.md). |
| [XAsyncGetStatus](https://docs.xbox.com/reference/system/xasync/functions/xasyncgetstatus.md) | Returns the status of the asynchronous call, optionally waiting for it to complete. |
| [XAsyncRun](https://docs.xbox.com/reference/system/xasync/functions/xasyncrun.md) | Asynchronously runs the specified callback function. |
| [XAsyncWork](https://docs.xbox.com/reference/system/xasync/functions/xasyncwork.md) | Represents the callback function invoked by [XAsyncRun](https://docs.xbox.com/reference/system/xasync/functions/xasyncrun.md). |

## Structures

| Structure | Description |
| - | - |
| [XAsyncBlock](https://docs.xbox.com/reference/system/xasync/structs/xasyncblock.md) | Represents the lifetime of an asynchronous call. |

## Conceptual documentation

* [XAsync library overview](https://docs.xbox.com/build/core-features/common/async/async-libraries/async-library-xasync.md)

## See also

[System API reference](https://docs.xbox.com/reference/system/gc-reference-system-toc.md)\
[Asynchronous Programming Design Goals and Improvements](https://docs.xbox.com/build/core-features/common/async/async-whitepaper.md)\
[Asynchronous Programming Model](https://docs.xbox.com/build/core-features/common/async/async-programming-model.md)


## Related topics

- [XAsync library overview](https://docs.xbox.com/build/core-features/common/async/async-libraries/async-library-xasync.md)
- [Set up async task](https://docs.xbox.com/build/core-features/common/async/async-libraries/async-library-xasync-example-setup-async-task.md)
- [Run Microsoft Game Development Kit (GDK) API task](https://docs.xbox.com/build/core-features/common/async/async-libraries/async-library-xasync-example-run-gdk-task.md)
- [Run simple task](https://docs.xbox.com/build/core-features/common/async/async-libraries/async-library-xasync-example-run-simple-task.md)
- [Asynchronous Programming Model](https://docs.xbox.com/build/core-features/common/async/async-programming-model.md)
