vscode.py
vscode.py copied to clipboard
Async
Hi, I am wondering if there are plans or things in the works to allow this library to use asynchronous functions etc. If not I think this would be great to add
Yes I am planning to shift to async soon. It should probably be async when 1.4.0 releases.
On second thought, the way vscode-ext is implemented right now we don't need the python code to be async since if the user uses a second command without finishing the previous command, it will spawn a new python process in order to run that. So technically its already async.
If I transition to a handling it a bit differently we might need the python code to be async. So for now the python code will be synchronous.
v2.0.0 is now async so I'll close this issue now.