Start a cooperative task which will read bytes from the input file and write them to consumer. Return a Deferred which fires after all bytes have been written. If this Deferred is cancelled before it is fired, stop reading and writing bytes.

ParametersconsumerAny IConsumer provider
Function maybeStopped Undocumented
def maybeStopped(reason): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.