Replace busy waiting for command to complete with a callback. #47
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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.