swoole_async_read
Read file stream asynchronously
&reftitle.description;
boolswoole_async_read
stringfilename
callablecallback
intchunk_size65536
intoffset0
&reftitle.parameters;
filename
The filename of the file 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 is succeed.