improve README
This commit is contained in:
parent
026e6a5146
commit
6f7f626cc0
@ -48,7 +48,7 @@ myIpcServer.call('mySubProcessNameAlias','myAwesomeFunction',someData).then(some
|
|||||||
```
|
```
|
||||||
|
|
||||||
Client:
|
Client:
|
||||||
```
|
```typescript
|
||||||
import { Ipcclient } from './smartipc'
|
import { Ipcclient } from './smartipc'
|
||||||
import * as q from 'q'
|
import * as q from 'q'
|
||||||
|
|
||||||
@ -63,4 +63,6 @@ let myAwesomeFunction = (dataArg) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
localIpc.register([myAwesomeFunction])
|
localIpc.register([myAwesomeFunction])
|
||||||
```
|
```
|
||||||
|
|
||||||
|
[![npm](https://push.rocks/assets/repo-header.svg)](https://push.rocks)
|
||||||
|
Loading…
Reference in New Issue
Block a user