MCPcopy Index your code
hub / github.com/socketstream/socketstream / defineAbcClientAndLoad

Function defineAbcClientAndLoad

test/unit/client/abcClient.js:21–35  ·  view source on GitHub ↗
(conf,run,load)

Source from the content-addressed store, hash-verified

19}
20
21function defineAbcClientAndLoad(conf,run,load) {
22 ss.client.init();
23
24 var client = defineAbcClient(conf);
25 if (run) {
26 run();
27 }
28 if (load !== false) {
29 ss.client.load();
30
31 ss.tasks.defaults();
32 }
33
34 return client;
35}
36
37module.exports.reset = function() {
38 ss.client.unload();

Callers

nothing calls this directly

Calls 1

defineAbcClientFunction · 0.85

Tested by

no test coverage detected