Swoole\Async 类

(PECL swoole >= 1.9.0)

介绍

类概要

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

目录

添加注释

用户贡献的注释

此页面没有用户贡献的注释。
To Top