Slight wording change suggested by Steve Dower.
This commit is contained in:
parent
4f0c72e228
commit
8f1bf85241
|
@ -154,7 +154,7 @@ A conforming event loop object has the following methods:
|
|||
|
||||
- ``run()``. Runs the event loop until there is nothing left to do.
|
||||
This means, in particular:
|
||||
|
||||
|
||||
- No more calls scheduled with ``call_later()`` (except for canceled
|
||||
calls).
|
||||
|
||||
|
@ -720,8 +720,8 @@ into a Task, callbacks can be added to the Task.
|
|||
You may ask, why not convert all coroutines to Tasks? The
|
||||
``@tulip.coroutine`` decorator could do this. This would slow things
|
||||
down considerably in the case where one coroutine calls another (and
|
||||
so on), as waiting for a "bare" coroutine has much less overhead than
|
||||
waiting for a Future.
|
||||
so on), as switching to a "bare" coroutine has much less overhead than
|
||||
switching to a Task.
|
||||
|
||||
The Scheduler
|
||||
-------------
|
||||
|
|
Loading…
Reference in New Issue