Software /
code /
prosody
Annotate
plugins/mod_pep_plus.lua @ 9512:439cf3bbe5f3
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.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 18 Oct 2018 12:11:50 +0100 |
parent | 9074:0462405b1cfb |
rev | line source |
---|---|
9074
0462405b1cfb
mod_pep -> mod_pep_simple, mod_pep_plus -> mod_pep
Matthew Wild <mwild1@gmail.com>
parents:
9061
diff
changeset
|
1 module:log("error", "mod_pep_plus has been renamed to mod_pep, please update your config file. Auto-loading mod_pep..."); |
0462405b1cfb
mod_pep -> mod_pep_simple, mod_pep_plus -> mod_pep
Matthew Wild <mwild1@gmail.com>
parents:
9061
diff
changeset
|
2 module:depends("pep"); |