Swoole Swoole\Event 클래스

(PECL swoole >= 1.9.0)


소개


클래스 개요

                  
class Swoole\Event {

  /* Methods */
  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
}
                  
                

목차