MCPcopy Create free account
hub / github.com/TruthHun/BookStack / send

Function send

static/editor.md/lib/codemirror/addon/tern/tern.js:668–674  ·  view source on GitHub ↗
(data, c)

Source from the content-addressed store, hash-verified

666 var msgId = 0, pending = {};
667
668 function send(data, c) {
669 if (c) {
670 data.id = ++msgId;
671 pending[msgId] = c;
672 }
673 worker.postMessage(data);
674 }
675 worker.onmessage = function(e) {
676 var data = e.data;
677 if (data.type == "getFile") {

Callers 1

WorkerServerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected