refactor: rename postEvent -> emitEvent to prevent ambiguity

This commit is contained in:
Wesley F. Young 2024-08-10 20:43:50 +08:00
parent 99f4752c89
commit 63237bc112

View File

@ -18,7 +18,7 @@ export class OB11NetworkManager {
return this.adapters;
}
async PostEvent(event: OB11BaseEvent) {
async emitEvent(event: OB11BaseEvent) {
// Mlikiowa V2.0.0 Refactor Todo
return Promise.all(this.adapters.map(adapter => adapter.onEvent(event)));
}