The Swoole\Async class

はじめに

クラス概要

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