(snapshot)
| 623 | } |
| 624 | |
| 625 | function 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 | |
| 636 | Agent.prototype._queryUnsubscribe = function(queryId, callback) { |
| 637 | var emitter = this.subscribedQueries[queryId]; |
no outgoing calls
no test coverage detected
searching dependent graphs…