def identityPumpPolicy(queue, target):
    while queue:
        bytes = queue.get()
        if bytes is None:
            break
        target.dataReceived(bytes)
L{identityPumpPolicy} is a policy which delivers each chunk of data written
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/protocols/loopback.py/identityPumpPolicy