Software /
code /
prosody
Comparison
configure @ 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 | 9427:460f08008521 |
child | 9657:bd75edf0e0e2 |
child | 9998:c8646f65767a |
comparison
equal
deleted
inserted
replaced
9511:cb88d729e98d | 9512:439cf3bbe5f3 |
---|