func doFlush(_data) println('flush();') event(onFlush) end