-
Notifications
You must be signed in to change notification settings - Fork 813
Open
Labels
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
If a resource is in the Waiting state, I should be able to cancel the resource start to stop it form running once it's dependencies are avaialble. Take the blockee` resoruce below
var blocker = builder.AddExecutable("blocker", "pwsh", ".")
.WithExplicitStart();
var blockee = builder.AddExecutable("blockee", "pwsh", ".")
.WaitFor(blocker);
Describe the solution you'd like
The Stop command should be available, and would cancel the wait and abort the process from starting up any further.
Additional context
Some relation to to #14812
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication