Alex Barker

Results 6 comments of Alex Barker

I'm working on making a transparent WebSocket layer for connecting a browser to a remote server (Raspberry Pi) to be able to subscribe directly to sensors and set outputs etc....

Hey @kevmo314 I managed to create a PoC and published the library on NPM for consumption. I rewrote the WebSocketSubject class as extending it proved difficult due to not being...

Any feedback on this @kevmo314 ? Im looking at opening a PR for this, however I'm not sure if I should merge the **WebSocketServerSubject** into the **WebSocketSubject** (could get messy)...

@kevmo314 regarding two subjects on a single socket... do you mean something like this? ``` wsServer.on('connection', (webSocket: WebSocket, req: IncomingMessage) => { const wsServerSubject = new WebSocketServerSubject(webSocket) const wsServerSubject2 =...

> It should be trivial to write a composition function like `useObservable()` that internally subscribes to an observable and returns a Vue `ref`. > > As for DOM event streams,...