Skip to content

Commit

Permalink
Document that callbacks cannot be used in external processes (Fixes m…
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed May 4, 2021
1 parent ef4ae90 commit 703843b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,11 @@ example::
# emit an event
external_sio.emit('my event', data={'foo': 'bar'}, room='my room')

A limitation of the write-only client manager object is that it cannot receive
callbacks when emitting. When the external process needs to receive callbacks,
using a client to connect to the server with read and write support is a better
option than a write-only client manager.

Debugging and Troubleshooting
-----------------------------

Expand Down

0 comments on commit 703843b

Please sign in to comment.