LongYinan
f0b8c5da07
fix(napi): do not call release tsfn in Drop when ref count is 0
2021-03-31 21:31:37 +08:00
LongYinan
071dcff9eb
feat(napi): add back clone trait to ThreadsafeFunction
2021-02-26 18:38:48 +08:00
LongYinan
bb5e1f4286
feat(napi): implement create_reference/get_reference_value
2020-12-18 00:07:24 +08:00
LongYinan
c184ab3926
ci: add cargo clippy
2020-12-01 14:58:00 +08:00
LongYinan
1a3621b727
feat(napi): major upgrades for napi@1
...
1. inline everything
2. change `check_status` and `type_of` to macro
3. provide #[module_exports] macro
4. remove debug and repr[transparent] for ffi struct
2020-11-26 11:31:49 +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
f3bb57abfb
fix(napi): hanlde unknown enum values from FFI
2020-11-11 14:34:30 +08:00
LongYinan
64d66a2261
chore: tokio@0.3
2020-10-16 20:58:56 +08:00
LongYinan
c5f2b6699d
refactor(napi): thread safe function redesign
2020-10-04 17:16:35 +08:00
LongYinan
43c01796eb
feat(napi): implement JsTimeout
2020-10-03 14:57:56 +08:00
LongYinan
9c921ffaa3
refactor(napi): scope and Ref
2020-09-30 15:54:54 +08:00
LongYinan
76d1258592
feat(napi): implement all object functions
2020-09-03 00:02:41 +08:00
LongYinan
ea3fff25ae
feat(napi): serde-json feature
2020-09-01 23:48:02 +08:00
LongYinan
f4a331cfe2
feat(napi): provide execute function to run Future on libuv
2020-07-07 11:57:32 +08:00