LongYinan
d4331e05df
refactor(napi): split NapiRaw trait from NapiValue
2021-04-01 18:57:49 +08:00
LongYinan
9d38689426
feat(napi): provide reject method in Task trait
...
Do some cleanup logic if needed
2020-12-18 11:32:15 +08:00
LongYinan
ba9744e89c
refactor(napi): reduce useless type cast
2020-12-02 18:39:20 +08:00
LongYinan
5ffb14729d
refactor(napi): js error
2020-12-02 14:56:19 +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
781ff8dc14
refactor(napi): make NapiTrait to be unsafe
...
close https://github.com/napi-rs/napi-rs/issues/299
2020-11-20 00:07:20 +08:00
LongYinan
f3bb57abfb
fix(napi): hanlde unknown enum values from FFI
2020-11-11 14:34:30 +08:00
LongYinan
47f5011a8f
feat(napi): support build on i686-pc-windows-msvc
2020-11-04 23:08:54 +08:00
LongYinan
9c921ffaa3
refactor(napi): scope and Ref
2020-09-30 15:54:54 +08:00
LongYinan
aadca83d2e
refactor(napi): implement async task cancel
2020-09-26 18:12:52 +08:00
LongYinan
d3fdfd48d0
refactor(napi): remove useless handle_scope operation in async_work
2020-09-26 17:14:44 +08:00
LongYinan
df5b082141
perf(napi): remove typecheck in CallContext for better performance
2020-09-07 17:26:28 +08:00
LongYinan
1c3d9b4e9a
test(napi): add more object functions tests
2020-09-03 15:34:27 +08:00
LongYinan
a022fe01d9
chore(napi): cleanup codes
2020-09-02 10:59:11 +08:00
LongYinan
0216c55e54
refactor(napi): redesign the JavaScript values API
2020-06-28 23:29:04 +08:00
Ouyang Yadong
9f49fd9b4e
refactor: remove sys:napi_async_init() in AsyncWork
2020-06-17 00:09:37 +08:00
LongYinan
ec235d284d
refactor(spawn): napi_async_worker implementation
2020-05-15 14:03:02 +08:00