05cbbda941cc2e19e92dcad4c249dc8ec66e486e
				
			
			
		
	smartipc
smart subprocess handling
Availabililty
Status for master
The purpose
smartipc makes it easy to spawn tasks into subprocesses without loosing control over what those processes do. You can transparently call functions and expect returned data using promises.
Usage
Master.ts:
import * as smartipc from 'smartipc'
smartipc.setBasePathArg(__dirname) // if you want to avoid typings out full paths every time
let myThread = new smartipc.Thread('worker')
myThread.send('someMessageOrObject').then(messageResponse => {
    console.log(messageResponse)
})
worker.ts
Description
				A node module for smart subprocess handling with support for promises and streamlined subprocess communication.
						
						
						
					Languages
				
				
								
								
									TypeScript
								
								97.5%
							
						
							
								
								
									JavaScript
								
								2.5%