Make root into an iterable of bytes and Deferred by doing a depth first traversal of the tree.

ParametersrequestA request object which will be passed to IRenderable.render.
rootAn object to be made flatter. This may be of type unicode, bytes, slot, Tag, tuple, list, types.GeneratorType, Deferred, or something providing IRenderable.
writeA callable which will be invoked with each bytes produced by flattening root.
ReturnsAn iterator which yields objects of type bytes and Deferred. A Deferred is only yielded when one is encountered in the process of flattening root. The returned iterator must not be iterated again until the Deferred is called back.
Function cbx Undocumented
def cbx(originalAndToFlatten): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.