mvp progress

This commit is contained in:
IDONTSUDO 2023-11-10 12:06:40 +03:00
parent 9b16b25187
commit 6446da7e76
75 changed files with 1865 additions and 244 deletions

View file

@ -1,15 +1,11 @@
// import path from "path";
// import { TypedEvent } from "../helper/typed_event";
// import { StackService } from "../services/stack_service";
// // TODO(IDONTSUDO): up to do
import { TypedEvent } from "../helper/typed_event";
// class SocketController<T>{
// emitter:TypedEvent<T>;
// constructor(emitter:TypedEvent<T>, ){
// this.emitter = emitter
// }
// call = () =>{
// }
// }
export class SocketSubscriber<T> {
emitter: TypedEvent<T>;
event: string;
constructor(emitter: TypedEvent<T>, event: string) {
this.emitter = emitter;
this.event = event;
}
}