import libraries, increase file read limit (still low). verify wip
This commit is contained in:
1 parent
80454f9a2a
commit
ff65f18f80
3 files changed
+60
-15
No files matched your search
@@ -130,9 +130,6 @@ export default class Horde {
|
||||
}
|
||||
|
||||
sendAction(action, body = {}) {
|
||||
if (!this.socket || this.socket.readyState !== WebSocket.OPEN) {
|
||||
return Promise.reject(new Error('WebSocket is not open'));
|
||||
}
|
||||
const nonce = this.nextNonce++;
|
||||
const promise = new Promise((resolve, reject) => {
|
||||
this.pending.set(nonce, { resolve, reject });
|
||||
|
||||
Reference in new issue
Block a user