PHP 8.1.0 RC 4 available for testing

The Swoole\Event class

(PECL swoole >= 1.9.0)

Giriş

Sınıf Sözdizimi

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

İçindekiler

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top