andylamax
01/10/2024, 12:13 PM@JsExport and @WasmExport in kotlin/wasm context?Svyatoslav Kuzmich [JB]
01/10/2024, 12:29 PM@WasmExport (and @WasmImport) - can be used in both wasmJs and wasmWasi, and intended for low-level interop with other Wasm code. Only number types and Boolean are currently supported.
@JsExport can only be used in wasmJs, and performs conversion to and from JS types for things like Boolean, String and lambdas.