# ProgressContext

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Provides context to the work callback of a progress interaction.

## Definition

```typescript
interface ProgressContext {
  readonly cancellationToken: cancellationToken;
}
```

## Properties

- `cancellationToken`: `cancellationToken` `get` -- Gets the `CancellationToken` that is triggered when the user clicks the cancel button or the operation is externally canceled.
