Skip to content
Docs Try Aspire

AspireClient.cancelToken

Method
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface AspireClient {
// ... omitted for brevity
cancelToken(tokenId: string): Promise<boolean>;
}

Signature

method cancelToken
Cancel a CancellationToken by its ID
cancelToken(tokenId: string): Promise<boolean>
tokenId string
Promise<boolean>

Defined on

This method is defined on the following type: