Skip to content

Instantly share code, notes, and snippets.

@catarak
Last active April 25, 2017 01:59
Show Gist options
  • Save catarak/5f875eae7c9d85dfa86de0bd414f5d90 to your computer and use it in GitHub Desktop.
Save catarak/5f875eae7c9d85dfa86de0bd414f5d90 to your computer and use it in GitHub Desktop.
var seneca = require('seneca')();
seneca.use('./todo.js');
seneca.listen({ type: 'tcp', pin: 'role:todo' }); // default port is 10101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment