fix(core): update

This commit is contained in:
2024-05-09 00:05:16 +02:00
commit 73187eb20e
30 changed files with 6666 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import { Coreflow } from './coreflow.classes.coreflow.js';
import * as plugins from './coreflow.plugins.js';
export class InternalServer {
public coreflowRef: Coreflow;
public typedsocketServer: plugins.typedsocket.TypedSocket;
constructor(coreflowRefArg: Coreflow) {
this.coreflowRef = coreflowRefArg;
}
public async start() {
this.typedsocketServer = await plugins.typedsocket.TypedSocket.createServer(
this.coreflowRef.typedrouter
);
}
public async stop() {
await this.typedsocketServer.stop();
}
}