React\EventLoop\Factoryis now automatically replaced with another implementation that throws on each usage to prevent two loops existing concurrently by accident.
SetAMP_REACT_ADAPTER_DISABLE_FACTORY_OVERRIDE=1as environment variable or constant to disable this protection.