例如在Java中,我可以用LMAX disruptor做到这一点: Disruptor<NetworkEvent> disruptor = new Disruptor<>(NetworkEvent::new, 2048, Executors.newSingleThreadedExecutor()); 在Kotlin我尝试了这个等价物: val disruptor = Disruptor<NetworkEvent>({ NetworkEvent() }, 2048, Executors.newSingleThreadExecutor()) 但是我迎接这个错误: