]> git.kaiwu.me - njs.git/commit
Introduced Async/Await implementation.
authorAlexander Borisov <alexander.borisov@nginx.com>
Wed, 1 Sep 2021 13:31:08 +0000 (16:31 +0300)
committerAlexander Borisov <alexander.borisov@nginx.com>
Wed, 1 Sep 2021 13:31:08 +0000 (16:31 +0300)
commit633536729c84b4a87bb41dbb95f27487cb466386
tree20722757bd1cb40e068348ab5cc37237177f9cd9
parentd3ac2fb983b302abb27c4aba932941d34011410e
Introduced Async/Await implementation.

This closes #419 issue on GitHub.
37 files changed:
auto/sources
src/njs_async.c [new file with mode: 0644]
src/njs_async.h [new file with mode: 0644]
src/njs_builtin.c
src/njs_disassembler.c
src/njs_function.c
src/njs_function.h
src/njs_generator.c
src/njs_lexer.h
src/njs_main.h
src/njs_parser.c
src/njs_parser.h
src/njs_promise.c
src/njs_promise.h
src/njs_variable.c
src/njs_vm.c
src/njs_vm.h
src/njs_vmcode.c
src/njs_vmcode.h
src/test/njs_unit_test.c
test/js/async_await_add.js [new file with mode: 0644]
test/js/async_await_blank.js [new file with mode: 0644]
test/js/async_await_catch.js [new file with mode: 0644]
test/js/async_await_finally.js [new file with mode: 0644]
test/js/async_await_for.js [new file with mode: 0644]
test/js/async_await_inline.js [new file with mode: 0644]
test/js/async_await_reject.js [new file with mode: 0644]
test/js/async_await_stages.js [new file with mode: 0644]
test/js/async_await_throw.js [new file with mode: 0644]
test/js/async_await_throw_async.js [new file with mode: 0644]
test/js/async_await_throw_catch.js [new file with mode: 0644]
test/js/async_await_throw_catch_async.js [new file with mode: 0644]
test/js/async_await_try_catch.js [new file with mode: 0644]
test/js/async_await_try_finally.js [new file with mode: 0644]
test/js/async_await_try_throw.js [new file with mode: 0644]
test/js/async_await_try_throw_catch.js [new file with mode: 0644]
test/njs_expect_test.exp