]> git.kaiwu.me - njs.git/commit
Added remaining Promise constructor methods.
authorAlexander Borisov <alexander.borisov@nginx.com>
Wed, 11 Aug 2021 18:48:52 +0000 (21:48 +0300)
committerAlexander Borisov <alexander.borisov@nginx.com>
Wed, 11 Aug 2021 18:48:52 +0000 (21:48 +0300)
commitd24a11a0fc348bfd8285f3340daa1e579e143cf5
treeecde3b32837a8da24247faff419401f9d2948925
parent3e8c943353f8b84d6de0828abb16d8733250065a
Added remaining Promise constructor methods.

The following methods were added: Promise.all(), Promise.allSettled(),
Promise.any(), Promise.race().
src/njs_promise.c
test/js/promise_all.js [new file with mode: 0644]
test/js/promise_allSettled.js [new file with mode: 0644]
test/js/promise_allSettled_string.js [new file with mode: 0644]
test/js/promise_all_throw.js [new file with mode: 0644]
test/js/promise_any.js [new file with mode: 0644]
test/js/promise_any_all_rejected.js [new file with mode: 0644]
test/js/promise_race.js [new file with mode: 0644]
test/js/promise_race_throw.js [new file with mode: 0644]
test/njs_expect_test.exp