Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

IReportingStep.createTask

Method
📦 Aspire.Hosting v13.6.0
interface IReportingStep {
// ... omitted for brevity
createTask(
statusText: string,
cancellationToken?: cancellationToken): IReportingTask;
}

Signature

methodcreateTask
Creates a reporting task with plain-text status text.
createTask(
statusText: string,
cancellationToken?: cancellationToken): IReportingTask
statusTextstring
cancellationTokencancellationTokenoptional
IReportingTask

Defined on

This method is defined on the following type: