UNPKG

diffusion

Version:

Diffusion JavaScript client

17 lines (13 loc) 543 B
var TopicCacheEntry = require('routing/topic-cache-entry'); module.exports = function NoValueEntry(streams, path, details, specification) { TopicCacheEntry.call(this, streams, path, details, specification); this.handleValue = function(received, registry) { this.notifyValue(received, null, received, registry); }; this.handleDelta = function(received, registry) { this.notifyDelta(received, null, null, received, registry); }; this.notifyValueToNewStream = function() { // No value }; };