Skip to content

Commit 703843b

Browse files
Document that callbacks cannot be used in external processes (Fixes miguelgrinberg/Flask-SocketIO#1533)
1 parent ef4ae90 commit 703843b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/server.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,11 @@ example::
567567
# emit an event
568568
external_sio.emit('my event', data={'foo': 'bar'}, room='my room')
569569

570+
A limitation of the write-only client manager object is that it cannot receive
571+
callbacks when emitting. When the external process needs to receive callbacks,
572+
using a client to connect to the server with read and write support is a better
573+
option than a write-only client manager.
574+
570575
Debugging and Troubleshooting
571576
-----------------------------
572577

0 commit comments

Comments
 (0)