mirror of
https://github.com/AmberGraceRblx/luau-promise.git
synced 2025-10-28 17:39:17 +00:00
627 B
627 B
2.2.0
Promise.promisifynow usescoroutine.wrapinstead ofPromise.spawn
2.1.0
- Add
finallyCall,andThenCall - Add
awaitValue
2.0.0
- Add Promise.race
- Add Promise.async
- Add Promise.spawn
- Add Promise.promisify
finallynow silences the unhandled rejection warningonCancelnow returns if the Promise was cancelled at call time.- Cancellation now propagates downstream.
- Add
Promise:awaitStatus - Calling
resolvewith a Promise while the resolving Promise is cancelled instantly cancels the passed Promise as an optimization. finallynow passes the Promise status as a parameter.