ResourceNotificationService.WaitForDependenciesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Waits for all dependencies of the resource to be ready.
public System.Threading.Tasks.Task WaitForDependenciesAsync (Aspire.Hosting.ApplicationModel.IResource resource, System.Threading.CancellationToken cancellationToken);
member this.WaitForDependenciesAsync : Aspire.Hosting.ApplicationModel.IResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function WaitForDependenciesAsync (resource As IResource, cancellationToken As CancellationToken) As Task
Parameters
- resource
- IResource
The resource with dependencies to wait for.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
A task.