Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support simple asynchronous operations #3

Merged
merged 14 commits into from
Jun 17, 2022
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v2
- uses: mymindstorm/setup-emsdk@v10
with:
version: '3.0.0'
version: '3.1.13'
# no-cache: true
actions-cache-folder: 'emsdk-cache'
- uses: actions/setup-node@v2
Expand Down
2 changes: 1 addition & 1 deletion .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
{
"name": "Win32 Emscripten",
"defines": ["${defines}", "__wasm32__"],
"defines": ["${defines}", "__wasm32__", "__EMSCRIPTEN_PTHREADS__"],
"compilerPath": "${env:EMSDK}\\upstream\\emscripten\\emcc.bat",
"intelliSenseMode": "clang-x86",
"cStandard": "c99",
Expand Down
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"request": "launch",
"name": "Launch Program",
"runtimeArgs": ["--expose-gc"],
"program": "${workspaceFolder}/packages/test/emnapi/emnapi.test.js",
"program": "${workspaceFolder}/packages/test/async/async.test.js",
"args": []
},
{
Expand Down
6 changes: 4 additions & 2 deletions packages/emnapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@

[Node-API (version 8)](https://nodejs.org/docs/v16.15.0/api/n-api.html) implementation for [Emscripten](https://emscripten.org/index.html), based on Node.js v16.15.0.

[中文 README](/~https://github.com/toyobayashi/emnapi/tree/main/README_CN.md).
[中文 README](/~https://github.com/toyobayashi/emnapi/tree/main/packages/emnapi/README_CN.md).

[See documentation for more details](https://emnapi-docs.vercel.app/)
[See documentation for more details](https://emnapi-docs.vercel.app/guide/)

[Full API List](https://emnapi-docs.vercel.app/reference/list.html)

## Quick Start

Expand Down
4 changes: 3 additions & 1 deletion packages/emnapi/README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

适用于 [Emscripten](https://emscripten.org/index.html) 的 [Node-API (version 8)](https://nodejs.org/dist/latest-v16.x/docs/api/n-api.html) 实现,基于 Node.js v16.15.0

[查看文档](https://emnapi-docs.vercel.app/)
[查看文档](https://emnapi-docs.vercel.app/zh/guide/)

[完整的 API 列表](https://emnapi-docs.vercel.app/zh/reference/list.html)

## 快速开始

Expand Down
Loading