Commit graph

24 commits

Author SHA1 Message Date
Eryn Lynn
85240d83b7 Fix rejection propagation issue 2019-11-12 23:07:43 -05:00
Eryn Lynn
75d82b4909 Add allSettled, some, and any
Closes #10
Closes #11
Closes #5
2019-09-29 02:03:22 -04:00
Eryn Lynn
bb13a0e2b6 Add Return and done
Closes #9
2019-09-28 22:03:06 -04:00
Eryn Lynn
3052ec1474 Add Promise.try 2019-09-28 18:54:49 -04:00
Eryn Lynn
f6c3dd163a Make resolve/reject accept multiple values
Closes #4
2019-09-28 17:48:55 -04:00
Eryn Lynn
c0626c0baf Make promisify catch errors
Closes #12
2019-09-28 17:38:35 -04:00
Eryn Lynn
f541fb7202 Remove status symbols 2019-09-28 01:56:58 -04:00
Eryn Lynn
4829a421db Add Promise:tap 2019-09-28 01:33:06 -04:00
Eryn Lynn
17fac4d008 Make all/race cancel correctly 2019-09-28 00:13:30 -04:00
Eryn Lynn
3dbb121906 Make error more robust when misusing all/race 2019-09-27 18:46:10 -04:00
Eryn Lynn
ffaff8a4b1 Make new/async more explicit 2019-09-18 16:42:15 -04:00
Eryn Lynn
0139ed512f Fix Promise.promisify and add test 2019-09-15 02:50:53 -04:00
Eryn Lynn
bf733e642f Make cancellation propagate downstream 2019-09-12 03:58:56 -04:00
Eryn Lynn
9a1d1c3530 Update for release 2019-09-10 15:34:06 -04:00
Eryn Lynn
99cb3d62f5 Fully implement finally and cancellation 2018-10-24 02:33:30 -04:00
Lucien Greathouse
3b30a3fa70 Remove extra synchronization in Promise.all 2018-09-14 18:47:57 -07:00
Lucien Greathouse
639f0e8419 Formatting and comment wrapping 2018-09-14 13:47:10 -07:00
Lucien Greathouse
3c9881a478 Vararg cleanup and test robustness improvements 2018-09-14 13:38:52 -07:00
Lucien Greathouse
40acffb2f0 Improve robustness of Promise.all tests 2018-09-14 11:31:24 -07:00
Eryn Lynn
371f08598c Implement Promise.all (#4) 2018-09-14 11:17:06 -07:00
Lucien Greathouse
bf3a3cf422 Rename internal _value field to _values 2018-06-16 19:42:14 -07:00
Lucien Greathouse
5010fa389a Add Promise:getStatus() for checking on a promise's current status 2018-06-16 19:40:57 -07:00
Lucien Greathouse
8828d467c4 Use xpcall instead of pcall to create better stack traces 2018-05-21 14:13:53 -07:00
Lucien Greathouse
9bc03fc001 Update the repository for prime-time 2018-04-11 15:26:54 -07:00