index
:
prosody.git
0.11
0.12
master
s2s
sasl
tls
origin/0.11
origin/0.12
origin/master
origin/s2s
origin/sasl
origin/tls
origin/vault/0.11
origin/vault/master
origin/vault/s2s
origin/vault/sasl
origin/vault/tls
unofficial mirror of the prosody mercurial project
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
util
/
promise.lua
Commit message (
Expand
)
Author
Age
Files
Lines
*
util.promise: Switch order of parameters to join()
Matthew Wild
2021-03-25
1
-4
/
+2
*
util.promise: all()/all_settled() pass through non-promise values
Matthew Wild
2021-03-25
1
-22
/
+30
*
util.promise: Add join() convenience method
Matthew Wild
2021-03-25
1
-0
/
+11
*
util.promise: Add support for arbitrary keys in all()/all_settled()
Matthew Wild
2021-03-25
1
-15
/
+27
*
Merge 0.11->trunk
Matthew Wild
2020-11-23
1
-1
/
+1
|
\
|
*
util.promise: Use xpcall() for promise function to preserve tracebacks
Matthew Wild
2020-11-23
1
-1
/
+1
*
|
util.promise: Add all_settled, which follows semantics of allSettled from ES2020
Matthew Wild
2020-06-08
1
-0
/
+22
*
|
util.promise: Remove references to callbacks after settling promise
Kim Alvefur
2018-12-30
1
-0
/
+3
|
/
*
Many things: switch from hacky multi-arg xpcall implementations to a standard...
Matthew Wild
2018-10-26
1
-0
/
+2
*
util.promise: Switch from pcall to xpcall to get tracebacks on exceptions
Matthew Wild
2018-10-26
1
-1
/
+1
*
util.promise: Remove the non-standard ability to pass a promise to reject()
Matthew Wild
2018-10-26
1
-3
/
+1
*
util.promise: Fix missing parameters
Matthew Wild
2018-10-25
1
-2
/
+2
*
util.promise: Ensure chained promises always receive a value/rejection even i...
Matthew Wild
2018-10-25
1
-22
/
+23
*
util.promise: Export is_promise()
Matthew Wild
2018-10-25
1
-0
/
+1
*
util.promise: Remove debug print and assert
Matthew Wild
2018-10-25
1
-1
/
+0
*
util.promise: Add promise.try()
Matthew Wild
2018-10-18
1
-0
/
+6
*
util.promise: Add a string representation
Kim Alvefur
2018-10-18
1
-0
/
+4
*
util.promise: Add promise:finally()
Matthew Wild
2018-10-18
1
-0
/
+6
*
util.promise: Some code relocation
Matthew Wild
2018-10-18
1
-23
/
+23
*
util.promise: Also support automatic resolution by returning a promise from a...
Matthew Wild
2018-10-18
1
-1
/
+3
*
util.promise: Fix promise.reject() to return a rejected promise, and fix bugg...
Matthew Wild
2018-10-18
1
-1
/
+1
*
util.promise: ES6-like API for promises
Matthew Wild
2018-10-10
1
-0
/
+133