node/test/node-api
Gabriel Schulhof 71616e8a8a
node-api: make tsfn accept napi_finalize once more
The thread-safe function's finalizer is not called in conjunction with
the garbage collection of a JS value. In fact, it keeps a strong
reference to the JS function it is expected to call. Thus, it is safe
to make calls that affect GC state from its body.

PR-URL: https://github.com/nodejs/node/pull/51801
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2024-05-07 17:03:26 +00:00
..
1_hello_world
test_async
test_async_cleanup_hook
test_async_context
test_buffer node-api: enable uncaught exceptions policy by default 2023-11-27 11:57:14 +01:00
test_callback_scope
test_cleanup_hook
test_env_teardown_gc
test_exception
test_fatal
test_fatal_exception
test_general node-api: define version 9 2023-07-07 00:06:19 +03:00
test_init_order
test_instance_data
test_make_callback
test_make_callback_recurse
test_null_init node-api: deprecate napi_module_register 2023-07-06 11:09:33 -04:00
test_policy test,benchmark: use tmpdir.fileURL() 2023-11-26 20:32:36 +01:00
test_reference_by_node_api_version node-api: segregate nogc APIs from rest via type system 2024-03-22 16:04:52 +00:00
test_threadsafe_function node-api: make tsfn accept napi_finalize once more 2024-05-07 17:03:26 +00:00
test_uv_loop
test_worker_buffer_callback
test_worker_terminate
test_worker_terminate_finalization
.gitignore
node-api.status
testcfg.py