pace icon indicating copy to clipboard operation
pace copied to clipboard

Use with websockets

Open ghost opened this issue 4 years ago • 0 comments

How can i use Pace with websocket calls? Is see there is a SocketRequestTracker in the code but dont understand how it is supposed to work. Just using start() on the beginning of a request and stop() when finished does not work either, it finishes instantly.

Maybe with EventLags? But from the doc i also dont see how this is working. I can start Events which a re checked per interval - checked for what?

Simple requirement would be to tell pace when a request starts and stops. Advanced nice to have would be to send progress through the socket and tell pace like Pace.setProgress(20); or so.

How would you suggest to handle this with pace?

ghost avatar May 20 '21 10:05 ghost