moved files and small changes
This commit is contained in:
parent
f8ba295079
commit
6051aaba16
@ -1,5 +1,5 @@
|
|||||||
import {KittenIPC} from '../../lib/ts/lib.ts';
|
import {ChildIPC} from 'kitten-ipc';
|
||||||
import GoIpcApi from './goapi.gen.ts';
|
import GoIpcApi from './goapi.gen.js';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @kittenipc api
|
* @kittenipc api
|
||||||
@ -15,7 +15,7 @@ class TsIpcApi {
|
|||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
const localApi = new TsIpcApi();
|
const localApi = new TsIpcApi();
|
||||||
const ipc = new KittenIPC(localApi);
|
const ipc = new ChildIPC(localApi);
|
||||||
const goApi = new GoIpcApi(ipc);
|
const goApi = new GoIpcApi(ipc);
|
||||||
|
|
||||||
await ipc.start();
|
await ipc.start();
|
||||||
@ -179,7 +179,7 @@ abstract class IPCCommon {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class ParentIPC extends IPCCommon {
|
export class ParentIPC extends IPCCommon {
|
||||||
private readonly cmdPath: string;
|
private readonly cmdPath: string;
|
||||||
private readonly cmdArgs: string[];
|
private readonly cmdArgs: string[];
|
||||||
private cmd: ChildProcess | null = null;
|
private cmd: ChildProcess | null = null;
|
||||||
Loading…
x
Reference in New Issue
Block a user