Skip to content
Docs Try Aspire

unregisterCancellation

Function
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
function unregisterCancellation(cancellationId: string | undefined): void

Signature

method unregisterCancellation
Unregister a cancellation token by its ID. Call when the operation completes to clean up resources.
unregisterCancellation(cancellationId: string | undefined): void
cancellationId string | undefined