fix: search file

This commit is contained in:
手瓜一十雪
2024-07-26 17:37:04 +08:00
parent a91dbf20b3
commit bdf764387f
3 changed files with 10 additions and 14 deletions

View File

@@ -146,6 +146,7 @@ export class NTEventWrapper {
this.EventTask.get(ListenerMainName)?.set(ListenerSubName, new Map());
}
this.EventTask.get(ListenerMainName)?.get(ListenerSubName)?.set(id, eventCallbak);
this.CreatListenerFunction(ListenerMainName);
});
}
async CallNormalEvent<EventType extends (...args: any[]) => Promise<any>, ListenerType extends (...args: any[]) => void>