2 Nov
2011
2 Nov
'11
12:39 p.m.
On Wed, 2011-11-02 at 11:24 +0000, Phil Mayers wrote:
I only just noticed today that if a generator passed to a CooperativeTask does:
result = yield some_deferred()
...it doesn't work, because CooperativeTask doesn't .send() the result of the deferred bacn into the generator.
Is this intentional? If not, would that behaviour be desirable? It seems like it would be a useful pattern to me.
Could you give an example snippet? I don't really understand the question, sorry.