Browse Source

Coroutine

pull/9/head
Jure Šorn 6 years ago
parent
commit
e42f492640
1 changed files with 2 additions and 2 deletions
  1. 4
      README.md

4
README.md

@ -1135,8 +1135,8 @@ Coroutine
* **If you built a collection of simple data processing components, you can glue them together into complex arrangements of pipes, branches, merging, etc.**
### Helper Decorator
* **All coroutines must be "primed" by first calling .next()**
* **Remembering to call .next() is easy to forget.**
* **All coroutines must be "primed" by first calling next()**
* **Remembering to call next() is easy to forget.**
* **Solved by wrapping coroutines with a decorator:**
```python

Loading…
Cancel
Save