Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/socketstream/socketstream
/ myCustomTransport
Function
myCustomTransport
test/unit/publish/transport.test.js:44–47 ·
view source on GitHub ↗
(config)
Source
from the content-addressed store, hash-verified
42
var
myConfig = {};
43
44
var
myCustomTransport =
function
(config) {
45
assert.deepEqual(myConfig,config);
46
done();
47
};
48
49
var
initialisedTransport = transport();
50
initialisedTransport.use(myCustomTransport);
Callers
nothing calls this directly
Calls
1
done
Function · 0.85
Tested by
no test coverage detected