wasmerio / wasmer-js

Monorepo for Javascript WebAssembly packages by Wasmer

Home Page:https://wasmerio.github.io/wasmer-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for .sock reading / writing

FranklinWaller opened this issue · comments

In our application we expose a sdk.sock which listens for messages and handles them. This way applications can chose to integrate if they want to (but still run in a full WASI context).
We could use stdin to response to messages and stdout to listen for messages but this would break applications that already use these 2 buffers for different use cases (Especially CLI applications).
What would be great is having support for .sock files (reading and writing) or allow the filesystem to create more streams to read & write (like stdin and stdout)