mirror of
https://github.com/lune-org/lune.git
synced 2025-04-04 10:30:54 +01:00
chore(types): add yieldability docs for ChildProcessReader:read
This commit is contained in:
parent
d3cda4be0c
commit
821c6d9f8c
1 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,9 @@ local ChildProcessReader = {}
|
|||
the reader into a buffer. Returns a buffer of size 0 if there is no more data to
|
||||
read.
|
||||
|
||||
This function may yield until there is new data to read from reader, if all data
|
||||
has already been read.
|
||||
|
||||
@return The buffer containing the data read from the reader
|
||||
]=]
|
||||
function ChildProcessReader:read(chunkSize: number?): buffer
|
||||
|
|
Loading…
Add table
Reference in a new issue