Statiq.Framework
Statiq.Framework copied to clipboard
Add plumbing for CancellationToken
Now that module execution is async, support for CancellationToken
should be added to the module execution method. That's important because right now when one of the parallel modules throws there's no way to stop other modules which results in a loop that's not as tight as it could be. Should also respond to quit requests from the CLI.
Plumbing is complete, still need to:
- Review modules to see which ones can response to cancellation requests
- Add support for manual cancellation to the CLI