MCPcopy Index your code
hub / github.com/totaljs/framework / send

Function send

nosql.js:240–254  ·  view source on GitHub ↗
(instance, type)

Source from the content-addressed store, hash-verified

238 var CMD = {};
239
240 function send(instance, type) {
241 var obj = {};
242 obj.type = type;
243 obj.name = instance.name;
244 obj.time = Date.now();
245 obj.t = instance instanceof Table;
246
247 if (arguments.length > 2) {
248 obj.arg = [];
249 for (var i = 2; i < arguments.length; i++)
250 obj.arg.push(arguments[i]);
251 }
252 setImmediate(send2, obj);
253 return obj;
254 }
255
256 function notify(instance, type) {
257 var obj = {};

Callers 1

nosql.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected