Skip to content

Instantly share code, notes, and snippets.

@jorgepedret jorgepedret/process.js Secret
Last active Dec 14, 2015

What would you like to do?
Sample of child process
var agents = require("switchboard-agents")
process.on("message", function(args){
var fork = require("child_process").fork;
var record = {
query: 'food'
var agentShim = fork('process.js');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.