This issue is a response to the feedback from liamappelbe in #91
Here is a rough sketch of what I plan to submit in separate PRs:
wasm_api.dart which will expose the interfaces found in module.dart and all error types without the implementation details (it will be unused for the moment, to be migrated to in a subsequent PR).
a migration from using constructors to construct a WasmModule instance to using a top level function to construct a WasmModule instance.
all declarations (excluding the top level factory functions from 2.) in module.dart will be made private and the interfaces from wasm_api.dart will be exposed.
This issue is a response to the feedback from liamappelbe in #91
Here is a rough sketch of what I plan to submit in separate PRs:
wasm_api.dart
which will expose the interfaces found in module.dart and all error types without the implementation details (it will be unused for the moment, to be migrated to in a subsequent PR).wasm_api.dart
will be exposed.