MCPcopy
hub / github.com/CodeboxIDE/codebox / setup

Function setup

core/cb.rpc.debug/main.js:6–20  ·  view source on GitHub ↗
(options, imports, register)

Source from the content-addressed store, hash-verified

4
5
6function setup(options, imports, register) {
7 // Import
8 var rpc = imports.rpc;
9 var events = imports.events;
10 var workspace = imports.workspace;
11
12 // Service
13 var service = new DebugRPCService(workspace, events);
14
15 // Register RPC
16 rpc.register('debug', service);
17
18 // Register
19 register(null, {});
20}
21
22// Exports
23module.exports = setup;

Callers

nothing calls this directly

Calls 1

registerFunction · 0.85

Tested by

no test coverage detected