vscode.py icon indicating copy to clipboard operation
vscode.py copied to clipboard

Async

Open Rxann opened this issue 2 years ago • 2 comments

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

Rxann avatar Jul 26 '21 16:07 Rxann

Yes I am planning to shift to async soon. It should probably be async when 1.4.0 releases.

CodeWithSwastik avatar Jul 27 '21 02:07 CodeWithSwastik

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.

CodeWithSwastik avatar Jul 27 '21 05:07 CodeWithSwastik

v2.0.0 is now async so I'll close this issue now.

CodeWithSwastik avatar Nov 30 '23 10:11 CodeWithSwastik