(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)
Sinopsisul clasei
Swoole\Event
{
public static add
(
int $fd
,
callable $read_callback
[,
callable $write_callback
[,
string $events
]] ) :
boolean
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
}