Open That-One-Nerd opened 1 year ago
This is currently delayed because for one, the current system actually uses far less processing than I expected and using a callback would require a bunch of asynchronous joining which I don't like on a good day.
Currently, the shell executes commands on a separate background thread and busy waits until completion. This wastes CPU cycles and can be improved by adding a callback to the background worker's completion.