如何从工作线程发送回underow.io中的XNIO线程?回调是解决方案吗?
if (httpServerExchange.isInIoThread()) {
httpServerExchange.dispatch(new Runnable() {
@Override
public void run() {
// do something blocking
// return back to XNIO worker
}
});
}