aboutsummaryrefslogtreecommitdiffstats
path: root/util/set.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-10-18 12:11:50 +0100
committerMatthew Wild <mwild1@gmail.com>2018-10-18 12:11:50 +0100
commit767997a53a686ace0b60ac6568c6d5483a276f12 (patch)
tree04f24e8f527e1eaa6090455ea8f7bb43ab9de5d4 /util/set.lua
parent52810113d8176f26bf8d8fe0049dc331302f56dc (diff)
downloadprosody-767997a53a686ace0b60ac6568c6d5483a276f12.tar.gz
prosody-767997a53a686ace0b60ac6568c6d5483a276f12.zip
util.promise: Also support automatic resolution by returning a promise from an on_reject handler
Originally unimplemented because it wasn't clear to me what the correct behaviour was, but the A+ spec is clear that both onFulfilled and onRejected may return a promise.
Diffstat (limited to 'util/set.lua')
0 files changed, 0 insertions, 0 deletions