public static function initEvent()
    {
        if (!self::$supported) {
            return;
        }
        self::updateConfig();
        self::$fd = eio_get_event_stream();
        self::$ev = EventLoop::$instance->event(self::$fd,
            \Event::READ | \Event::PERSIST,
            function ($fd, $events, $arg) {
                while (eio_nreqs()) {
                    eio_poll();
                }
            }
        );
        self::$ev->add();
    }
public static function initEvent()
    {
        if (!self::$supported) {
            return;
        }
        self::updateConfig();
        self::$fd = eio_get_event_stream();
        self::$ev = EventLoop::$instance->event(self::$fd,
            \Event::READ | \Event::PERSIST,
            function ($fd, $events, $arg) {
                while (eio_nreqs()) {
                    eio_poll();
                }
            }
        );
        self::$ev->add();
    }
public static function initEvent ( ) { if ( ! self :: $ supported ) { return ; } self :: updateConfig ( ) ; self :: $ fd = eio_get_event_stream ( ) ; self :: $ ev = EventLoop :: $ instance -> event ( self :: $ fd , \ Event :: READ | \ Event :: PERSIST , function ( $ fd , $ events , $ arg ) { while ( eio_nreqs ( ) ) { eio_poll ( ) ; } } ) ; self :: $ ev -> add ( ) ; }
Initialize main FS event
@return void
Initialize main FS event