git ssb

0+

cel-desktop / ssb-pkg



Tree: d456a6cc8589489e558e6164750474ed2cfc961e

Files: d456a6cc8589489e558e6164750474ed2cfc961e / test / test-79-npm / node-redis-pubsub / node-redis-pubsub.js

291 bytesRaw
1'use strict';
2
3var NRP = require('node-redis-pubsub');
4var config = { port: 6379, scope: 'demo' };
5new NRP(config); // eslint-disable-line no-new
6
7process.on('uncaughtException', function (error) {
8 var ok = error.code === 'ECONNREFUSED';
9 if (ok) console.log('ok');
10 process.exit();
11});
12

Built with git-ssb-web