style: lint
This commit is contained in:
1 parent
02e39b5714
commit
b2075130d9
8 files changed
+17
-17
No files matched your search
+2
-2
@@ -234,7 +234,7 @@ export class NTEventWrapper {
|
||||
this.EventTask.get(ListenerMainName)?.get(ListenerSubName)?.set(id, eventCallback);
|
||||
this.createListenerFunction(ListenerMainName);
|
||||
|
||||
let eventResult = this.createEventFunction(serviceAndMethod)!(...(args));
|
||||
const eventResult = this.createEventFunction(serviceAndMethod)!(...(args));
|
||||
|
||||
const eventRetHandle = (eventData: any) => {
|
||||
retEvent = eventData;
|
||||
@@ -252,7 +252,7 @@ export class NTEventWrapper {
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
};
|
||||
if (eventResult instanceof Promise) {
|
||||
eventResult.then((eventResult: any) => {
|
||||
eventRetHandle(eventResult);
|
||||
|
||||
Reference in new issue
Block a user