The Swoole\Async class

Introduction

Class synopsis

Swoole\Async
class Swoole\Async {
/* Methods */
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 = ?
)
}
Table of Contents