# InteractionProgressOptions

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Options for progress dialog prompts.

## Definition

```go
type InteractionProgressOptions struct {
    Title                 *string          `json:"Title"`
    PrimaryButtonText     *string          `json:"PrimaryButtonText"`
    EnableMessageMarkdown *bool            `json:"EnableMessageMarkdown"`
    Work                  func(...any) any `json:"Work"`
}
```

## Fields

- `Title`: `*string` `optional` -- Gets or sets the optional title of the progress dialog.
- `PrimaryButtonText`: `*string` `optional` -- Gets or sets the primary button text (e.g. "Cancel").
- `EnableMessageMarkdown`: `*bool` `optional` -- Gets or sets a value indicating whether Markdown in the message is rendered.
- `Work`: `func(...any) any` `optional` `callback` -- Gets or sets an optional asynchronous work callback to execute while the progress dialog is displayed. When provided, the progress dialog remains open while this callback executes and closes automatically when the callback completes.
