jprendes / emception

Run Emscripten in the browser
Other
285 stars 35 forks source link

[Question] How does await FileSystem work? #9

Closed james-pre closed 1 year ago

james-pre commented 1 year ago

In the source, we have await new FileSystem();.

How does one add this behavior with another class that needs FileSystem (so that the await can bubble)? Having the await call inside the class constructor / body doesn't work.