Swoole
PHP Manual

The Swoole\Async class

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

Introduction

Class synopsis

Swoole\Async {
/* Methods */
public static void dnsLookup ( string $hostname , callable $callback )
public static bool read ( string $filename , callable $callback [, integer $chunk_size [, integer $offset ]] )
public static void readFile ( string $filename , callable $callback )
public static void set ( array $settings )
public static void write ( string $filename , string $content [, integer $offset [, callable $callback ]] )
public static void writeFile ( string $filename , string $content [, callable $callback [, string $flags ]] )
}

Table of Contents


Swoole
PHP Manual