1.0.11 • Published 6 years ago

smartipc v1.0.11

Weekly downloads
6
License
MIT
Repository
gitlab
Last release
6 years ago

smartipc

smart subprocess handling

Availabililty

npm git git docs

Status for master

build status coverage report npm downloads per month Dependency Status bitHound Dependencies bitHound Code TypeScript node JavaScript Style Guide

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

repo-footer

1.0.11

6 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

8 years ago