Skip to content
DocsTry Aspire
DocsTry

EndpointReference.getValueAsync

Method
📦 Aspire.Hosting v13.4.0
interface EndpointReference {
// ... omitted for brevity
getValueAsync(cancellationToken?: cancellationToken): string;
}

Signature

methodgetValueAsync
Gets the URL of the endpoint asynchronously. Waits for the endpoint to be allocated if necessary.
getValueAsync(cancellationToken?: cancellationToken): string
cancellationTokencancellationTokenoptional
string

Defined on

This method is defined on the following type: