chore: HttpAdapter
This commit is contained in:
1 parent
44a8c8e35d
commit
a2e20a8092
3 files changed
+16
-5
No files matched your search
@@ -20,7 +20,9 @@ export class OB11NetworkManager {
|
||||
async getAllAdapters() {
|
||||
return this.adapters;
|
||||
}
|
||||
|
||||
async openAllAdapters() {
|
||||
return Promise.all(this.adapters.map(adapter => adapter.open()));
|
||||
}
|
||||
async emitEvent(event: OB11EmitEventContent) {
|
||||
// Mlikiowa V2.0.0 Refactor Todo
|
||||
return Promise.all(this.adapters.map(adapter => adapter.onEvent(event)));
|
||||
|
||||
Reference in new issue
Block a user