napi-rs/examples/napi
Markus 73a704a19e
feat(napi): keep stack traces in a deferred context (#1637)
* feat(napi): keep stack traces in deferred context

* chore: reformat code

Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>

* chore: use napi wrappers

Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>

* test(napi): add test for deferred trace

Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>

* chore: fix format

Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>

---------

Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>
2023-07-15 12:07:14 +08:00
..
__tests__ feat(napi): keep stack traces in a deferred context (#1637) 2023-07-15 12:07:14 +08:00
electron-renderer chore: upgrade npm dependencies (#1557) 2023-04-11 10:47:52 +08:00
src feat(napi): keep stack traces in a deferred context (#1637) 2023-07-15 12:07:14 +08:00
tests test(napi-derive): add trybuild negative macro tests 2022-05-23 11:55:19 +08:00
.gitignore test(napi-derive): add trybuild negative macro tests 2022-05-23 11:55:19 +08:00
build.rs Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
Cargo.toml feat(napi): keep stack traces in a deferred context (#1637) 2023-07-15 12:07:14 +08:00
electron.js fix(napi): check if the tokio runtime exists when registering the module 2023-03-28 12:03:00 +08:00
index.d.ts feat(napi): keep stack traces in a deferred context (#1637) 2023-07-15 12:07:14 +08:00
package.json fix(napi): do nothing in deferred if thread is destroyed (#1568) 2023-04-15 18:58:53 +08:00
tsconfig.json ci: reduce the complex of CI config (#1628) 2023-06-17 17:03:57 +08:00