You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I asked about this before but I'd like to be able to run scripts asynchronously. I think this could be accomplished in a backwards-compatible way. We could introduce the async-#_ attribute. It could run all the files that have async-14_ in the filename at the same time. I don't mind hiring a Go developer to add this but I was hoping to get into the main branch for the trustworthiness factor. Any thoughts?
The text was updated successfully, but these errors were encountered:
I am also opposed to async scripts in core chezmoi. Asynchronous programming is particularly hard, especially when there is shared global state involved. In the case of chezmoi, the shared global state is the entirety of local machine and some remote servers.
It is not a question of implementation effort. I cannot see a situation under which a PR implementing asynchronous scripts would be accepted. @halostatue gives a practical solution for controlled asynchronicity.
Note that chezmoi already reads the source directory concurrently (#1851), and downloading externals concurrently is on the roadmap for v3 (#2673, #2670).
Hey, I asked about this before but I'd like to be able to run scripts asynchronously. I think this could be accomplished in a backwards-compatible way. We could introduce the
async-#_
attribute. It could run all the files that haveasync-14_
in the filename at the same time. I don't mind hiring a Go developer to add this but I was hoping to get into the main branch for the trustworthiness factor. Any thoughts?The text was updated successfully, but these errors were encountered: