MCPcopy Create free account
hub / github.com/share/sharedb / getSnapshotData

Function getSnapshotData

lib/agent.js:625–634  ·  view source on GitHub ↗
(snapshot)

Source from the content-addressed store, hash-verified

623}
624
625function getSnapshotData(snapshot) {
626 var data = {
627 v: snapshot.v,
628 data: snapshot.data
629 };
630 if (types.defaultType !== types.map[snapshot.type]) {
631 data.type = snapshot.type;
632 }
633 return data;
634}
635
636Agent.prototype._queryUnsubscribe = function(queryId, callback) {
637 var emitter = this.subscribedQueries[queryId];

Callers 3

getResultsDataFunction · 0.85
getMapResultFunction · 0.85
agent.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…