From 8a172747ee12f7e4db8ab79a69ebd8989f480ec2 Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Tue, 24 Jan 2023 12:31:25 -0500 Subject: [PATCH] Update type definitions in readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ef4a3b8..2ec7152 100644 --- a/README.md +++ b/README.md @@ -118,9 +118,9 @@ type process = { ```lua type task = { cancel: (thread: thread) -> (), - defer: (functionOrThread: thread | (...any) -> (...any)) -> thread, - delay: (duration: number?, functionOrThread: thread | (...any) -> (...any)) -> thread, - spawn: (functionOrThread: thread | (...any) -> (...any)) -> thread, + defer: (functionOrThread: thread | (T...) -> (...any), T...) -> thread, + delay: (duration: number?, functionOrThread: thread | (T...) -> (...any), T...) -> thread, + spawn: (functionOrThread: thread | (T...) -> (...any), T...) -> thread, wait: (duration: number?) -> (number), } ```