I needed to link some page explaining what inlineCallbacks
and
deferredGenerator
are, and ... failed to find one. So here is a
short explanation and the example code (working scripts).
Code size comparison: raw deferreds - 29 lines,
deferredGenerator - 26 lines, inlineCallbacks - 17 lines (non-empty lines, lookup
function measured).