The Swoole\Event class

(PECL swoole >= 1.9.0)

简介

类摘要

class Swoole\Event {
/* 方法 */
public static function add(
    int $fd,
    callable $read_callback,
    callable $write_callback = ?,
    string $events = ?
): bool
public static function defer(mixed $callback): void
public static function del(string $fd): bool
public static function exit(): void
public static function set(
    int $fd,
    string $read_callback = ?,
    string $write_callback = ?,
    string $events = ?
): bool
public static function wait(): void
public static function write(string $fd, string $data): void
}

目录

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top