mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 13:01:14 +00:00
refactor: rename postEvent -> emitEvent to prevent ambiguity
This commit is contained in:
parent
99f4752c89
commit
63237bc112
@ -18,7 +18,7 @@ export class OB11NetworkManager {
|
|||||||
return this.adapters;
|
return this.adapters;
|
||||||
}
|
}
|
||||||
|
|
||||||
async PostEvent(event: OB11BaseEvent) {
|
async emitEvent(event: OB11BaseEvent) {
|
||||||
// Mlikiowa V2.0.0 Refactor Todo
|
// Mlikiowa V2.0.0 Refactor Todo
|
||||||
return Promise.all(this.adapters.map(adapter => adapter.onEvent(event)));
|
return Promise.all(this.adapters.map(adapter => adapter.onEvent(event)));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user