sseclient
sseclient copied to clipboard
Asyncronous events
Hello, I have seen from your code that to parse the events from the server you are using a for loop. I guess that this mean that the program will lock the resource on the loop. Is there any possibility to use it in an asynchronous way? In this way I can consume the events once they arrive.
Hello, I have seen from your code that to parse the events from the server you are using a for loop. I guess that this mean that the program will lock the resource on the loop. Is there any possibility to use it in an asynchronous way? In this way I can consume the events once they arrive.
Hello,
@andreafresa did you figure out if/how you can do this?