MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / send

Function send

lib/web/CodeMirror/addon/tern/tern.js:690–696  ·  view source on GitHub ↗
(data, c)

Source from the content-addressed store, hash-verified

688 var msgId = 0, pending = {};
689
690 function send(data, c) {
691 if (c) {
692 data.id = ++msgId;
693 pending[msgId] = c;
694 }
695 worker.postMessage(data);
696 }
697 worker.onmessage = function(e) {
698 var data = e.data;
699 if (data.type == "getFile") {

Callers 1

WorkerServerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected