

def _flush_buffered_frames(self):
    "\n        Callback when protocol has been initialized on channel 0 and we're\n        ready to send out frames to set up any channels that have been\n        created.\n        "
    frames = self._output_frame_buffer
    self._output_frame_buffer = []
    for frame in frames:
        self.send_frame(frame)

dataset/ETHPy150Open agoragames/haigha/haigha/connection.py Connection._flush_buffered_frames/original