added websockets example

This commit is contained in:
ibaryshnikov
2019-05-20 02:01:25 +03:00
parent ad68436cc9
commit 6825da384f
6 changed files with 111 additions and 0 deletions

View File

@ -0,0 +1,5 @@
import init from './pkg/websockets.js';
window.addEventListener('load', async () => {
await init('./pkg/websockets_bg.wasm');
});