Browse Source

pass return value of start_background_task to the caller

pull/32/head
Miguel Grinberg 9 years ago
parent
commit
cd9e1a7c64
  1. 2
      socketio/server.py

2
socketio/server.py

@ -322,7 +322,7 @@ class Server(object):
the Python standard library. The `start()` method on this object is the Python standard library. The `start()` method on this object is
already called by this function. already called by this function.
""" """
self.eio.start_background_task(target, *args, **kwargs) return self.eio.start_background_task(target, *args, **kwargs)
def sleep(self, seconds=0): def sleep(self, seconds=0):
"""Sleep for the requested amount of time using the appropriate async """Sleep for the requested amount of time using the appropriate async

Loading…
Cancel
Save