Should be able to cancel a `Waiting` resource's startup
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [x] 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
Contributor guide
Assessment
This issue has not been assessed yet.