(sid, environ)
| 80 | |
| 81 | @sio.on('connect') |
| 82 | async def test_connect(sid, environ): |
| 83 | global background_task_started |
| 84 | if not background_task_started: |
| 85 | sio.start_background_task(background_task) |
| 86 | background_task_started = True |
| 87 | await sio.emit('my_response', {'data': 'Connected', 'count': 0}, room=sid) |
| 88 | |
| 89 | |
| 90 | @sio.on('disconnect') |
nothing calls this directly
no test coverage detected
searching dependent graphs…