MCPcopy Index your code
hub / github.com/witheve/Eve / WebworkerRuntimeClient

Class WebworkerRuntimeClient

src/runtime/webworker.ts:20–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18//---------------------------------------------------------------------
19
20class WebworkerRuntimeClient extends RuntimeClient {
21
22 constructor(showIDE) {
23 let dbs = {
24 "http": new HttpDatabase()
25 }
26 if(showIDE) {
27 dbs["view"] = new BrowserViewDatabase();
28 dbs["editor"] = new BrowserEditorDatabase();
29 dbs["inspector"] = new BrowserInspectorDatabase();
30 }
31 super(dbs);
32 }
33
34 send(json) {
35 postMessage(json, undefined);
36 }
37
38}
39
40export var responder: WebworkerRuntimeClient;
41

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected