Commit graph

198 commits

Author SHA1 Message Date
eryn L. K
05c603dd1e Update version 2021-12-28 05:35:44 -05:00
eryn L. K
06fc407f12 Update docs for v4 2021-12-28 05:29:09 -05:00
eryn L. K
893c43a90c Cancel finally returned promise if outer cancelled 2021-12-28 05:24:19 -05:00
eryn L. K
afc245c4f1 Change behavior of finally
Closes #59
Closes #66
2021-12-28 04:23:54 -05:00
eryn L. K
2cb2eec152 Don't call queued callbacks from cancelled sub-promise
Closes #67
2021-12-27 23:15:44 -05:00
eryn L. K
34273a7efc Close promise thread on finalize and cancel
Closes #76
2021-12-27 23:04:47 -05:00
eryn L. K
54e510d909 Use task.spawn instead of BindableEvent for await 2021-12-27 22:41:42 -05:00
eryn L. K
1fd66c87c9 Release v3.2.0 2021-12-27 22:27:39 -05:00
eryn L. K
1c987f2eb4 Remove code example from readme 2021-12-27 22:24:39 -05:00
eryn L. K
3138dab77a Implement Promise.retryWithDelay
Closes #45
2021-12-27 22:23:18 -05:00
eryn L. K
eb3f2e77e2 Add since to onUnhandledRejection 2021-12-27 22:08:54 -05:00
eryn L. K
9e51c039f7 Add onUnhandledRejection
Closes #54
2021-12-27 22:06:42 -05:00
eryn L. K
4e04458816 Support callable tables where functions are allowed
Closes #64
2021-12-27 21:46:19 -05:00
eryn L. K
e7033308ec Move to selene from luacheck 2021-12-27 21:37:04 -05:00
eryn L. K
0b8d55a4c3 Fix docs typo
Closes #74
2021-12-27 21:30:42 -05:00
eryn L. K
70e9cea6a7 Create foreman.toml 2021-12-27 21:28:33 -05:00
eryn L. K
079bd8e6f5 Update doc comments for new moonwave version 2021-12-27 21:28:28 -05:00
eryn L. K
b80fa76bc8 Fix promise.resolve example 2021-11-24 17:29:16 -05:00
eryn L. K
6c38e41422 Format with stylua 2021-11-24 17:28:49 -05:00
eryn L. K
81dc283f32 Fix onCancel type 2021-10-23 15:52:36 -04:00
eryn L. K
a65118c5c8 Update discord server 2021-10-23 15:52:30 -04:00
Eryn Lynn
e35575cd22 Create wally.toml 2021-10-05 14:37:29 -04:00
Eryn Lynn
df750d4a11 update docs 2021-09-30 03:01:59 -04:00
Eryn Lynn
531908b9bf Fix canonical URL 2021-09-23 19:14:03 -04:00
Eryn Lynn
ab7ed40481 Fix broken links in docs 2021-09-23 19:10:22 -04:00
Eryn Lynn
3f77076707 Update to use moonwave docs 2021-09-23 19:08:38 -04:00
Reselim
49deee5d51
Fix default.project.json to allow usage as submodule (#29)
* Fix default.project.json to allow usage as submodule

* Rename lua-promise to just promise

* Change promise to Promise
2021-03-19 18:50:11 -04:00
dependabot[bot]
ef38a178bf
Bump elliptic from 6.5.3 to 6.5.4 (#53)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-18 20:45:36 -04:00
dependabot[bot]
59fd168482
Bump prismjs from 1.22.0 to 1.23.0 (#52)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.22.0...v1.23.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-18 20:45:19 -04:00
dependabot[bot]
a909077562
Bump ini from 1.3.5 to 1.3.8 (#48)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-18 20:45:07 -04:00
howmanysmall
72f100473d
Fix linting (#49) 2021-03-18 20:43:49 -04:00
eryn L. K
2c2e2ce138
Merge pull request #50 from railworks2/patch-1
Fixed wrongly directed link
2021-01-25 11:51:54 -05:00
Dave Brown
4790938b04
Fixed wrongly directed link
Minor correction to the API reference, now should link to the correct webpage rather than to 404
2021-01-16 10:43:05 +00:00
Eryn Lynn
4f3604e9f1 v3.1.0 2020-12-01 20:26:44 -05:00
Eryn Lynn
fc9097eaf7 Update vuepress 2020-12-01 20:26:32 -05:00
eryn L. K
48d756b6d6
Merge pull request #47 from oltrep/promise-reduce
Promise.fold()
2020-12-01 20:20:59 -05:00
Eryn Lynn
73e91d89dd Fix typo 2020-12-01 20:18:02 -05:00
otrepanier
ce6c12f177 remove promise check 2020-11-30 16:42:21 -08:00
otrepanier
1ac7d3cae9 refactor implementation to support cancel 2020-11-30 16:34:13 -08:00
otrepanier
df07638f43 update changelog 2020-11-20 15:11:53 -08:00
otrepanier
9d554f236a update documentation 2020-11-20 15:11:41 -08:00
otrepanier
4fc7792c0c implement Promise.fold 2020-11-20 14:14:27 -08:00
eryn L. K
33736a3254
Merge pull request #43 from evaera/dependabot/npm_and_yarn/http-proxy-1.18.1
Bump http-proxy from 1.18.0 to 1.18.1
2020-09-28 14:58:36 -04:00
eryn L. K
5586f8e340
Merge pull request #44 from Dog2puppy/patch-1
Configure HttpEnabled when installing
2020-09-28 14:57:48 -04:00
Dog2puppy
25ef780336
Configure HttpEnabled when installing
When using the command bar script, it first stores the current setting of HttpEnabled, sets it to true, adds the module, and sets it back to the previous value. This removes the step requiring the user to configure HttpEnabled within the Game Settings window.
2020-09-23 22:53:02 -04:00
dependabot[bot]
20a3ee2345
Bump http-proxy from 1.18.0 to 1.18.1
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.18.0...1.18.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-10 12:48:48 +00:00
Eryn Lynn
948331d19b 3.0.1 2020-08-24 13:39:44 -04:00
Eryn Lynn
e7a01c7bed Fix #39 2020-08-24 13:34:36 -04:00
Eryn Lynn
a4256062a0 Fix casing 2020-08-24 13:25:09 -04:00
eryn L. K
7fc6fc90f0
Merge pull request #40 from Validark/patch-3
(Promise.delay) Allow OnCancel to break out of the current loop
2020-08-24 13:23:51 -04:00