略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Swoole\Event

2024-03-27

The Swoole\Event class

(PECL swoole >= 1.9.0)

简介

类摘要

class Swoole\Event {
/* 方法 */
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
}

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.swoole-event.php

冷却塔厂家 广告
-- 广告
北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3