diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-10-18 12:11:50 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-10-18 12:11:50 +0100 |
commit | 7bcf751702cfc10ad5946c9ed54784c95653441f (patch) | |
tree | 04f24e8f527e1eaa6090455ea8f7bb43ab9de5d4 /util/template.lua | |
parent | 0d3fa64b961586d70bbf9b9eb3e417687f6872d6 (diff) | |
download | prosody-7bcf751702cfc10ad5946c9ed54784c95653441f.tar.gz prosody-7bcf751702cfc10ad5946c9ed54784c95653441f.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/template.lua')
0 files changed, 0 insertions, 0 deletions