The Swoole\Async class
(PECL swoole >= 1.9.0)
Class synopsis
class Swoole\Async
{
public static read(
string $filename
,
callable $callback
,
int $chunk_size
= ?,
int $offset
= ?):
bool
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
}
Table of Contents