mirror of
https://github.com/AmberGraceRblx/luau-promise.git
synced 2025-04-24 15:50:01 +00:00
Add since to onUnhandledRejection
This commit is contained in:
parent
9e51c039f7
commit
eb3f2e77e2
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
]=]
|
||||
|
|
Loading…
Reference in a new issue