PHP 8.4.0 RC4 available for testing

The Swoole\Async class

(PECL swoole >= 1.9.0)

Introducción

Sinopsis de la Clase

class Swoole\Async {
/* Métodos */
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
}

Tabla de contenidos

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top