matrix-rust-sdk/matrix_sdk/examples/wasm_send_message/index.js

8 lines
110 B
JavaScript
Raw Normal View History

const rust = import('./pkg');
rust
.then(m => {
return m.run()
})
.catch(console.error);