3 ms·
> but using deferred leaks everywhere in your API Exactly. To expand on it. Glyph and/or Guido, I have heard say how the fact that IO is happening is very imp
by rdtsc 13y ago
> but using deferred leaks everywhere in your API
Exactly. To expand on it. Glyph and/or Guido, I have heard say how the fact that IO is happening is very important and one should an obvious explicit callback in the algorithm. (Those using yield based concurrency also agree but just say to stick a yield in there instead of a deferred+callback).
I disagree. If one particular API function happens to use Twisted shouldn't affect the user or caller of the functions. Using a particular IO library should be an implementation detail.