4719caa643
* feat(napi): support to use tuple with either (#1993) `Either` uses `ValidateNapiValue` + `TypeName` to validate and report error on value not being matched. So there's no way to remove these super traits from it. So I implemented these types to `Tuple` types. * feat(napi): support `Return` generic of ThreadsafeFunction * depracate JsFunction * CalleeHandled tsfn should handle Result in callback * Pass env to call_with_return_value callback * Fix compile * clippy fix * Fix electron test * Function args --------- Co-authored-by: Hana <andywangsy@gmail.com> |
||
---|---|---|
.. | ||
__tests__ | ||
browser | ||
electron-renderer | ||
src | ||
tests | ||
.gitignore | ||
browser.js | ||
build.rs | ||
Cargo.toml | ||
electron.cjs | ||
example.wasi-browser.js | ||
example.wasi.cjs | ||
index.cjs | ||
index.d.cts | ||
index.html | ||
package.json | ||
tsconfig.json | ||
vite-entry.js | ||
vite.config.js | ||
wasi-worker-browser.mjs | ||
wasi-worker.mjs |