From 821c6d9f8c6cf7e9b00fe9382d8729c452d5beaa Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Mon, 10 Jun 2024 09:12:03 +0530 Subject: [PATCH] chore(types): add yieldability docs for ChildProcessReader:read --- types/process.luau | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/process.luau b/types/process.luau index 4a6e9f1..9f5017f 100644 --- a/types/process.luau +++ b/types/process.luau @@ -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