mvp progress
This commit is contained in:
parent
9b16b25187
commit
6446da7e76
75 changed files with 1865 additions and 244 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue