nvim-http
nvim-http copied to clipboard
Make HttpStop work
Before, HttpStop handler was waiting till the main thread works, and the async task should be done first. Async task had that queue.get handler and process.join as well, so it was effectively blocking.
Remove those blocking operations so that we only spawn thread.
Probably, it also makes sense to remove vim async wrapper at all.
In the end, should fix #6
Worked for me, and I hope I did not misunderstand something completely fundamental...
The next step: figure out what to do with result queue :)
Sorry for the delay, I completely missed the notifications from this project.
Approved and merged - thanks for the contribution!