Skip to content
Docs Try Aspire

EndpointReference.getValueAsync

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

Signature

method getValueAsync
Gets the URL of the endpoint asynchronously
getValueAsync(cancellationToken?: cancellationToken): string
cancellationToken cancellationToken optional
string

Defined on

This method is defined on the following type: