1 Repo
Libraries that abstract postMessage communication as asynchronous function calls between the main thread and workers.
Distinct from RPC Servers: Specifically targets the main-thread-to-worker RPC pattern in the browser, distinct from server-side RPC servers.
Explore 1 awesome GitHub repository matching web development · WebWorker RPC Libraries. Refine with filters or upvote what's useful.
Comlink is a remote procedure call library that transforms message-based communication into asynchronous function calls between the main thread and web workers. It provides a proxy-based interface that allows multiple threads to interact with a single object instance without manual message handling. The project enables the execution of functions across separate browser windows, iframes, and web workers, making external calls behave like local asynchronous operations. It supports the transfer of non-cloneable data through custom serialization handlers and allows for the movement of ownership f
Transforms message-based communication into asynchronous function calls between the main thread and web workers.