Skip to content

Commit

Permalink
docs: fix important note
Browse files Browse the repository at this point in the history
  • Loading branch information
TomerAberbach committed Jun 23, 2024
1 parent cb4cacd commit a6dc403
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,10 @@ console.log(imports[8])
Use `parseImports` when you're able to await a `Promise` result and
`parseImportsSync` otherwise.
> [!IMPORTANT] You can only call `parseImportsSync` once the WASM has loaded.
> You can be sure this has happened by awaiting the exported `wasmLoadPromise`.
> [!IMPORTANT]
>
> You can only call `parseImportsSync` once the WASM has loaded. You can be sure
> this has happened by awaiting the exported `wasmLoadPromise`.
See the [type definitions](./src/index.d.ts) for details.
Expand Down

0 comments on commit a6dc403

Please sign in to comment.