International PHP Conference 2019 - Spring Edition

The Swoole\Event class

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

Introduction

Class synopsis

Swoole\Event {
/* Methods */
public static boolean add ( int $fd , callable $read_callback [, callable $write_callback [, string $events ]] )
public static void defer ( mixed $callback )
public static boolean del ( string $fd )
public static void exit ( void )
public static boolean set ( int $fd [, string $read_callback [, string $write_callback [, string $events ]]] )
public static void wait ( void )
public static void write ( string $fd , string $data )
}

Table of Contents

add a note add a note

User Contributed Notes

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