[njs] Added constructor name for async function.
Vadim Zhestikov
v.zhestikov at f5.com
Fri Jun 30 13:41:06 UTC 2023
details: https://hg.nginx.org/njs/rev/e85aaeaa7e55
branches:
changeset: 2170:e85aaeaa7e55
user: Vadim Zhestikov <v.zhestikov at f5.com>
date: Fri Jun 30 06:38:36 2023 -0700
description:
Added constructor name for async function.
diffstat:
src/njs_async.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 453f5503de13 -r e85aaeaa7e55 src/njs_async.c
--- a/src/njs_async.c Thu Jun 29 20:44:14 2023 -0700
+++ b/src/njs_async.c Fri Jun 30 06:38:36 2023 -0700
@@ -163,6 +163,8 @@ njs_async_context_free(njs_vm_t *vm, njs
static const njs_object_prop_t njs_async_constructor_properties[] =
{
+ NJS_DECLARE_PROP_NAME("AsyncFunction"),
+
NJS_DECLARE_PROP_LENGTH(1),
NJS_DECLARE_PROP_HANDLER("prototype", njs_object_prototype_create, 0, 0, 0),
More information about the nginx-devel
mailing list