8 references to WaitType
Aspire.Hosting (7)
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 (3)
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)
1103
return builder.WithAnnotation(new WaitAnnotation(dependency.Resource,
WaitType
.WaitUntilHealthy) { WaitBehavior = waitBehavior });
1175
return builder.WithAnnotation(new WaitAnnotation(dependency.Resource,
WaitType
.WaitForCompletion, exitCode));
Aspire.Hosting.Docker (1)
DockerComposeServiceResource.cs (1)
144
WaitType
.WaitForCompletion => "service_completed_successfully",