rename attachBridge

This commit is contained in:
SrGooglo 2022-11-22 16:10:21 +00:00
parent 03f9fe0b47
commit 98e3edabcb

View File

@ -165,8 +165,12 @@ export default class ApiCore extends Core {
window.app.eventBus.emit("session.regenerated")
}
connectBridge = (key, params) => {
this.namespaces[key] = this.createBridge(params)
attachBridge = (key, params) => {
return this.namespaces[key] = this.createBridge(params)
}
detachBridge = (key) => {
return delete this.namespaces[key]
}
createBridge(params = {}) {