invisibleroads / invisibleroads/socketIO-client

socketIO.wait(seconds=0.1) not honouring time given

Open
#193 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
441
Forks
204
PR merge metrics
No merged PRs in 30d

Description

Hey!

I'm trying to use a socketIO client in my main loop in a non-blocking way, in order to do other tasks also by calling `sio.wait(seconds=0.1)`. At first it seems to work: I'm able to do other stuff and then in the loop come back to this part where it can listen to a server sending requests to the client.

However, after further checking, I noticed that the time it takes for `sio.wait(seconds=0.1)` to execute is pretty much exactly 1 second!

Are there any limitations on how low this value can be?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.