Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

InteractionProgressOptions

Struct
📦 Aspire.Hosting v17.0.0

Options for progress dialog prompts.

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

Fields

Title*stringoptional
Gets or sets the optional title of the progress dialog.
PrimaryButtonText*stringoptional
Gets or sets the primary button text (e.g. "Cancel").
EnableMessageMarkdown*booloptional
Gets or sets a value indicating whether Markdown in the message is rendered.
Workfunc(...any) anyoptionalcallback
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.