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

8 lines
110 B
JavaScript
Raw Normal View History

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