git ssb

0+

cel-desktop / ssb-pkg



Tree: c5c7a8ffadbd51aa28a5f3f096fe43f69405da44

Files: c5c7a8ffadbd51aa28a5f3f096fe43f69405da44 / 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