Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ProgressContext

Handle
📦 Aspire.Hosting v17.0.0

Provides context to the work callback of a progress interaction.

type ProgressContext interface{}

Properties

propertyCancellationToken*CancellationTokenget
Gets the CancellationToken that is triggered when the user clicks the cancel button or the operation is externally canceled.
CancellationToken() (*CancellationToken, error)