UNPKG

@emartech/faye-redis-sharded

Version:

Redis backend engine for Faye with support for sharding

11 lines (8 loc) 264 B
Faye.Envelope = Faye.Class({ initialize: function(message, timeout) { this.id = message.id; this.message = message; if (timeout !== undefined) this.timeout(timeout / 1000, false); } }); Faye.extend(Faye.Envelope.prototype, Faye.Deferrable);