nvim-http icon indicating copy to clipboard operation
nvim-http copied to clipboard

Make HttpStop work

Open oxcafedead opened this issue 1 year ago • 2 comments

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

oxcafedead avatar Jan 25 '24 18:01 oxcafedead

Worked for me, and I hope I did not misunderstand something completely fundamental...

oxcafedead avatar Jan 25 '24 18:01 oxcafedead

The next step: figure out what to do with result queue :)

oxcafedead avatar Jan 26 '24 11:01 oxcafedead

Sorry for the delay, I completely missed the notifications from this project.

Approved and merged - thanks for the contribution!

blacklight avatar Jun 06 '24 01:06 blacklight