We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d530850 commit ef4ae90Copy full SHA for ef4ae90
1 file changed
docs/client.rst
@@ -277,7 +277,7 @@ start a custom background task::
277
# do some background work here!
278
pass
279
280
- sio.start_background_task(my_background_task, 123)
+ task = sio.start_background_task(my_background_task, 123)
281
282
The arguments passed to this method are the background function and any
283
positional or keyword arguments to invoke the function with.
@@ -288,7 +288,7 @@ Here is the ``asyncio`` version::
288
289
290
291
292
293
Note that this function is not a coroutine, since it does not wait for the
294
background function to end. The background function must be a coroutine.
0 commit comments