public void InvokeFlush(IChannelHandlerContext ctx) { if (Executor.InEventLoop) { ChannelHandlerInvokerUtil.InvokeFlushNow(ctx); } else { Executor.Execute(InvokeFlushAction, ctx); } }