(PECL swoole >= 1.9.0)
swoole_async_readfile — Read a file asynchronously
$filename
$callback
filename
The filename of the file being read.
callback
$content
The name of the file.
content
The content read from the file.
Returns true on success or false on failure.
true
false