The Swoole\Async class

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

简介

类摘要

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

Table of Contents