chore: run a full eslint

This commit is contained in:
Wesley F. Young
2024-08-10 19:58:31 +08:00
parent 9a9511aad6
commit 116a04e081
198 changed files with 8187 additions and 7744 deletions

View File

@@ -13,7 +13,7 @@ export class OB11PassiveHttpAdapter implements IOB11NetworkAdapter {
private port: number;
token: string;
constructor(port: number,token: string) {
constructor(port: number, token: string) {
this.port = port;
this.token = token;
}
@@ -21,9 +21,11 @@ export class OB11PassiveHttpAdapter implements IOB11NetworkAdapter {
registerAction<T extends BaseAction<P, R>, P, R>(action: T) {
this.actionMap.set(action.actionName, action);
}
registerHeartBeat() {
//空心跳
}
onEvent<T extends OB11BaseEvent>(event: T) {
// 事件处理逻辑可以在这里实现
}
@@ -76,4 +78,4 @@ export class OB11PassiveHttpAdapter implements IOB11NetworkAdapter {
this.hasBeenClosed = true;
this.server?.close();
}
}
}