(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)
类摘要
Swoole\Async
{
public static bool read
(
string $filename
,
callable $callback
[,
integer $chunk_size
[,
integer $offset
]] )
public static void set
(
array $settings
)
public static void write
(
string $filename
,
string $content
[,
integer $offset
[,
callable $callback
]] )
public static void writeFile
(
string $filename
,
string $content
[,
callable $callback
[,
string $flags
]] )
}