Skip to content

Commit

Permalink
Update src/blog/jspi-newapi.md
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Steiner <[email protected]>
  • Loading branch information
fgmccabe and tomayac authored May 31, 2024
1 parent 42d7833 commit 6048035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blog/jspi-newapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ interface Suspending{
}
```
Note that this API has an asymmetric feel to it: we have a function that takes a WebAssembly function and returns a new promising (sic) function; whereas to mark a suspending function we enclose it in a `Suspending` object. This reflects a deeper reality about what is happening under the hood.
Note that this API has an asymmetric feel to it: there's have a function that takes a WebAssembly function and returns a new promising (_sic_) function; whereas to mark a suspending function, you enclose it in a `Suspending` object. This reflects a deeper reality about what is happening under the hood.
The suspending behavior of an import is intrinsically part of the *call* to the import: i.e., some function inside the instantiated module calls the import and suspends as a result.
Expand Down

0 comments on commit 6048035

Please sign in to comment.