mikolalysenko / mudb

Low latency state replication for the web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

postMessage based sockets for webworkers and iframes

mikolalysenko opened this issue · comments

In many cases it makes sense to run the server in a separate thread via an iframe or web worker. In this case we'd need to use postMessage to for communication instead of setTimeout.

Theoretically we should be able to support this by implementing a new socket type.