The Swoole\Event class

はじめに

クラス概要

Swoole\Event
class Swoole\Event {
/* メソッド */
public static bool add(
    int $fd,
    callable $read_callback,
    callable $write_callback = ?,
    string $events = ?
)
public static void defer(mixed $callback)
public static bool del(string $fd)
public static void exit()
public static bool set(
    int $fd,
    string $read_callback = ?,
    string $write_callback = ?,
    string $events = ?
)
public static void wait()
public static void write(string $fd, string $data)
}
目次