pub fn set_current_reactor(reactor: Box<dyn Reactor>)
Set the reactor for the current thread. Used by simulation to allow libraries with static-method dependencies (like OpenRaft) to find the reactor.