Explorar o código

done trying out wait and join

digital %!s(int64=7) %!d(string=hai) anos
pai
achega
03a718abbd
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      network/__init__.py

+ 0 - 1
network/__init__.py

@@ -418,7 +418,6 @@ class Server(object):
         # seconds. instead of task.join() we use task.wait(). the only
         # difference is that wait doesn't throw a exception if the task was
         # stopped or crashed
-        # maybe wait doesn't work, trying it out with join
         cur_task = await curio.current_task()
         await curio.ignore_after(0.01,cur_task.wait)