async def corofunc():
            nonlocal called
            called += 1
            raise ValueError("yeah async")
def buffer_updated(self, nbytes):
        self.transport.write(self.buffer[:nbytes])