napi-rs/crates/napi/src
Bo d8cfcfdfda
fix(napi): ensure that napi_call_threadsafe_function cannot be called after abort (#1533)
* refactor(napi): reduce boilerplate code for accessing `aborted` lock

* refactor: ensure that `napi_call_threadsafe_function` cannot be called after abort

---------

Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-03-28 20:54:55 +08:00
..
bindgen_runtime fix(napi): check if the tokio runtime exists when registering the module 2023-03-28 12:03:00 +08:00
js_values feat(napi): property getter and setter with closure (#1526) 2023-03-21 11:22:07 +08:00
async_cleanup_hook.rs Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
async_work.rs feat: export registers in wasm32 target (#1529) 2023-03-20 18:42:27 +08:00
call_context.rs refactor(napi): remove compatible Either struct 2021-11-25 17:53:41 +08:00
cleanup_env.rs Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
env.rs feat(napi): property getter and setter with closure (#1526) 2023-03-21 11:22:07 +08:00
error.rs fix(napi): display should be implemented on error generics (#1497) 2023-02-24 19:46:39 +08:00
lib.rs chore(napi): reduce Mutex usage while loading addon 2022-12-16 13:41:16 +08:00
status.rs fix(napi): support custom status in Error (#1486) 2023-02-09 23:18:57 +08:00
task.rs feat(napi): implement AsyncTask with AbortSignal support 2021-11-06 13:51:54 +08:00
threadsafe_function.rs fix(napi): ensure that napi_call_threadsafe_function cannot be called after abort (#1533) 2023-03-28 20:54:55 +08:00
tokio_runtime.rs fix(napi): check if the tokio runtime exists when registering the module 2023-03-28 12:03:00 +08:00
value_type.rs feat(napi): BigInt codegen support 2021-11-11 16:18:25 +08:00
version.rs fix(napi): correct the CString usage 2021-11-15 16:55:13 +08:00