Swoole\Async::readRead file stream asynchronously. Description
public static bool Swoole\Async::read(
string $filename ,callable $callback ,int $chunk_size = ?,int $offset = ?)
Parameters
Return ValuesWhether the read is succeed. |