The Swoole\Event class

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Introduction

Class synopsis

Swoole\Event {
/* Methods */
public static add ( int $fd , callable $read_callback [, callable $write_callback [, string $events ]] ) : boolean
public static defer ( mixed $callback ) : void
public static del ( string $fd ) : boolean
public static exit ( void ) : void
public static set ( int $fd [, string $read_callback [, string $write_callback [, string $events ]]] ) : boolean
public static wait ( void ) : void
public static write ( string $fd , string $data ) : void
}

Table of Contents