From eb3f2e77e2b041dbfb54b4cba2300bc1651c4476 Mon Sep 17 00:00:00 2001 From: "eryn L. K" Date: Mon, 27 Dec 2021 22:08:54 -0500 Subject: [PATCH] Add since to onUnhandledRejection --- lib/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/init.lua b/lib/init.lua index 5d79057..30d9335 100644 --- a/lib/init.lua +++ b/lib/init.lua @@ -1997,6 +1997,7 @@ end The callback is called with the actual promise that rejected, followed by the rejection values. + @since v3.2.0 @param callback (promise: Promise, ...: any) -- A callback that runs when an unhandled rejection happens. @return () -> () -- Function that unregisters the `callback` when called ]=]