UNPKG
wasmrs-js
Version:
latest (0.3.1)
0.3.1
0.3.0
0.2.4
0.2.3
0.2.2
0.2.1
A JavaScript implementation of the RSocket protocol over WebAssembly.
wasmrs-js
/
src
/
browser
/
worker
/
worker-entry.ts
8 lines
(5 loc)
•
161 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
import
{
WasmRsInstance
}
from
'../../wasmrs.js'
;
import
{
WASI
}
from
'../wasi.js'
;
import
{ main }
from
'./worker.js'
;
WasmRsInstance
.
setWasi
(
WASI
);
main
();