Longhorn PHP 2019 Schedule

The Swoole\Event class

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

简介

类摘要

Swoole\Event {
/* 方法 */
public static add ( int $fd , callable $read_callback [, callable $write_callback [, string $events ]] ) : boolean
public static defer ( mixed $callback ) : void
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
}

Table of Contents

add a note add a note

User Contributed Notes

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