Take strings from an iterator and pass them to a writer function.

ParametersstateAn iterator of str and Deferred. str instances will be passed to write. Deferred instances will be waited on before resuming iteration of state.
writeA callable which will be invoked with each str produced by iterating state.
resultA Deferred which will be called back when state has been completely flattened into write or which will be errbacked if an exception in a generator passed to state or an errback from a Deferred from state occurs.
ReturnsNone
Function cby Undocumented
def cby(original): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.