241880f2b0f264ccdae9644e74afc423ec2fe40a
				
			
			
		
	smartipc
smart subprocess handling
Availabililty
Status for master
Usage
Use TypeScript for best in class instellisense.
Understand 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.
How To
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
For further information read the linked docs at the top of this README.
MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy
Description
				A node module for smart subprocess handling with support for promises and streamlined subprocess communication.
						
						
						
					Languages
				
				
								
								
									TypeScript
								
								97.5%
							
						
							
								
								
									JavaScript
								
								2.5%