chore: token

This commit is contained in:
手瓜一十雪 committed 2024-08-10 17:07:23 +08:00
1 parent b5d24d751d
commit 89188958ec
5 files changed
+14 -12

No files matched your search

+1 -6
View File
@@ -13,12 +13,7 @@ export class OB11NetworkManager {
registerAdapter(adapter: IOB11NetworkAdapter) {
this.adapters.push(adapter);
}
async open() {
await Promise.all(this.adapters.map(adapter => adapter.open()));
}
async close() {
async closeAll() {
await Promise.all(this.adapters.map(adapter => adapter.close()));
}
}