Commit graph

12 commits

Author SHA1 Message Date
LongYinan
f46aa1f67a
fix(napi): throw JavaScript error in tsfn rather than rust thread panic 2021-01-25 12:11:12 +08:00
LongYinan
bb5e1f4286
feat(napi): implement create_reference/get_reference_value 2020-12-18 00:07:24 +08:00
LongYinan
5ffb14729d
refactor(napi): js error 2020-12-02 14:56:19 +08:00
LongYinan
eb5f4931bd
feat(napi): impl Clone and Drop for ThreadSafeFunction, return Status from ThreadSafeFunction::call 2020-11-11 16:51:11 +08:00
LongYinan
fc0ec0b378
refactor(napi-sys): remove bindgen 2020-11-10 17:52:59 +08:00
LongYinan
feced6ed52
chore: upgrade deps and fix type-check error 2020-08-24 18:22:48 +08:00
LongYinan
100ad98407
refactor(test_module): migrate tests to TypeScript 2020-08-24 16:55:54 +08:00
Ouyang Yadong
1329409ca4 fixup! refactor(napi): use get_uv_event_loop instead of uv_default_loop 2020-08-18 14:11:19 +08:00
Ouyang Yadong
00454eb577 refactor(napi): use get_uv_event_loop instead of uv_default_loop
Using the uv_loop_s from napi_env is safer as it's possible that
there are multiple Workers, and therefore multiple uv_loop_s.
2020-08-18 13:55:35 +08:00
LongYinan
62482ab2e6
doc: add some documents 2020-07-14 23:05:08 +08:00
LongYinan
9118e9e62d
feat(napi): implment tokio_rt feature 2020-07-14 22:58:05 +08:00
LongYinan
f4a331cfe2
feat(napi): provide execute function to run Future on libuv 2020-07-07 11:57:32 +08:00