8 references to WaitType
Aspire.Hosting (8)
ApplicationModel\ResourceNotificationService.cs (2)
383
WaitType
.WaitUntilHealthy => WaitUntilHealthyAsync(resource, waitAnnotation.Resource, waitAnnotation.WaitBehavior ?? DefaultWaitBehavior, cancellationToken),
384
WaitType
.WaitForCompletion => WaitUntilCompletionAsync(resource, waitAnnotation.Resource, waitAnnotation.ExitCode, cancellationToken),
ApplicationModel\WaitAnnotation.cs (4)
18
public sealed class WaitAnnotation(IResource resource,
WaitType
waitType, int exitCode = 0) : IResourceAnnotation
28
public
WaitType
WaitType { get; } = waitType;
31
/// The behavior of the wait. Only applicable when <see cref="
WaitType
"/> is <see cref="
WaitType
.WaitUntilHealthy"/>.
ResourceBuilderExtensions.cs (2)
816
return builder.WithAnnotation(new WaitAnnotation(dependency.Resource,
WaitType
.WaitUntilHealthy) { WaitBehavior = waitBehavior });
888
return builder.WithAnnotation(new WaitAnnotation(dependency.Resource,
WaitType
.WaitForCompletion, exitCode));