Return the actual value, for parameters that can also be given as callables.
(self, value)
| 354 | return self.eio.sleep(seconds) |
| 355 | |
| 356 | def _get_real_value(self, value): |
| 357 | """Return the actual value, for parameters that can also be given as |
| 358 | callables.""" |
| 359 | if not callable(value): |
| 360 | return value |
| 361 | return value() |
| 362 | |
| 363 | def _send_packet(self, pkt): |
| 364 | """Send a Socket.IO packet to the server.""" |
no outgoing calls
no test coverage detected