Open nitanmarcel opened 2 days ago
I'm not sure what the issue that you're bringing up is. The fact that the class is "sans io" means you have to handle the sending in some way, perhaps with asyncio, but this can be done from the original class. Could you please elaborate?
I'm not sure what the issue that you're bringing up is. The fact that the class is "sans io" means you have to handle the sending in some way, perhaps with asyncio, but this can be done from the original class. Could you please elaborate?
I was requesting for completions each type a character was typed in the text area in an editor I did, each time the request was made the editor will freeze for a second until the request was sent and received.
So somewhere around those class modified functions takes to long to process thus blocking the loop until it's done. No idea if that's also the case without asyncio
Sending and handling requests will block the loop while they are processing. An workaround I found was inheriting lsp.Client to handle some of the work asynchronous.