swoole_async_read
Read file stream asynchronously
&reftitle.description;
boolswoole_async_read
stringfilename
callablecallback
intchunk_size
intoffset
&reftitle.parameters;
filename
The filename being read.
callback
mixedcallback
stringfilename
stringcontent
filename
The name of the file.
content
The content readed from the file stream.
chunk_size
The chunk length.
offset
The offset.
&reftitle.returnvalues;
Whether the read if succeed.