(gen)
| 8 | Q.put((a,b)) |
| 9 | |
| 10 | def async_int(gen): |
| 11 | try: gen.next() |
| 12 | except StopIteration: return |
| 13 | def do(): |
| 14 | try: gen.next() |
| 15 | except StopIteration: return |
| 16 | idle_add(async_int, gen) |
| 17 | threading.Thread(target=do).start() |
| 18 | |
| 19 | def async(func): |
| 20 | return lambda *a,**kw: async_int(func(*a,**kw)) |
no test coverage detected