luau-promise/CHANGELOG.md

21 lines
627 B
Markdown
Raw Normal View History

# 2.2.0
- `Promise.promisify` now uses `coroutine.wrap` instead of `Promise.spawn`
2019-09-13 00:13:29 +00:00
# 2.1.0
- Add `finallyCall`, `andThenCall`
- Add `awaitValue`
2019-09-12 07:58:56 +00:00
# 2.0.0
- Add Promise.race
- Add Promise.async
- Add Promise.spawn
- Add Promise.promisify
- `finally` now silences the unhandled rejection warning
- `onCancel` now returns if the Promise was cancelled at call time.
- Cancellation now propagates downstream.
- Add `Promise:awaitStatus`
- Calling `resolve` with a Promise while the resolving Promise is cancelled instantly cancels the passed Promise as an optimization.
- `finally` now passes the Promise status as a parameter.