3 ms·
> as it has a (very rarely used) feature that allows information from the caller to be passed back to the generator. The Twisted library encouraged heavy use o
by danuker 5y ago
> as it has a (very rarely used) feature that allows information from the caller to be passed back to the generator.
The Twisted library encouraged heavy use of this before Python implemented async/await.
https://twistedmatrix.com/documents/current/core/howto/defer-intro.html#inline-callbacks-using-yield https://twistedmatrix.com/documents/current/core/howto/defer...