]> git.kaiwu.me - njs.git/commit
Promise: reject empty any inputs
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 22 Sep 2026 04:56:00 +0000 (21:56 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Fri, 25 Sep 2026 23:00:29 +0000 (16:00 -0700)
commit0965ce1df932f018882ecdbafdd5af3e307a68e0
treec1affd02ba8392c79abd99126d28bdd8948d0273
parent777e8f8ac0ccee6238083b38dba1916797c741cb
Promise: reject empty any inputs

Reject Promise.any() with an AggregateError when the input contains no
promises, as required by the promise combinator semantics.
src/njs_promise.c
test/js/promise_any.t.js
test/njs_test262.failures