Commit graph

15 commits

Author SHA1 Message Date
Lucien Greathouse
e6b43a1fae
Make multiple return values be handled correctly in all (?) cases (#3) 2018-07-05 15:49:25 -07:00
Lucien Greathouse
e785799141 Fix missing unpack case, still not ideal 2018-06-16 20:04:01 -07:00
Lucien Greathouse
6c6eef6a3b Store length of _values explicitly.
This fixes some cases where middle-nils would drop values.
Not all cases are fixed because of the definition of wpcall,
which could be rectified by replacing it.
2018-06-16 19:47:21 -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
7fb09d103f Update to Promise version from Rojo, which changes await() 2018-04-20 23:25:23 -07:00
Lucien Greathouse
9bc03fc001 Update the repository for prime-time 2018-04-11 15:26:54 -07:00
Lucien Greathouse
bafeb68973 Fix comment grammar 2018-02-01 11:22:01 -08:00
Lucien Greathouse
3ca1885cc2 Add .gitignore and .luacov 2018-02-01 11:21:41 -08:00
Lucien Greathouse
3dda05030b Improved test coverage 2018-01-31 15:39:27 -08:00
Lucien Greathouse
8f093eec98 Simplified Promise.all implementation 2018-01-31 15:39:21 -08:00
Lucien Greathouse
a25ad236ae Start implementing tests, add lemur and testez dependencies 2018-01-31 15:29:04 -08:00
Lucien Greathouse
8b1573ce41 Rename, implement Promise.all 2018-01-31 13:43:09 -08:00
Lucien Greathouse
d9bd6bbd3c Initial dump 2018-01-25 17:21:58 -08:00