UNPKG

dho-rpc-transport-webworker

Version:

Easy way to communicate with webworker using dho-rpc (JSON RPC library)

11 lines (8 loc) 284 B
<html> <body> <script src="./index.js"></script> We run autotester in main thread because AutoTester must have access to the clients and the server. So, we pass window object as worker as it has the same API. Open browser dev tools to see call logs. </body> </html>