You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
if the connection fails while calling a method, the method will never be resolved even if I've enabled autoReconnect. For example:
async function test() {
const a = new DDPClient();
await a.connect();
// We shut down the DDP server to simulate a failing connection
setTimeout(async () => {
const testy = await a.call("categories.get");
console.log(testy);
},5000)
}
The promise/callback will never be resolved when we've enabled useSockJs:true.
The text was updated successfully, but these errors were encountered:
Hey,
if the connection fails while calling a method, the method will never be resolved even if I've enabled autoReconnect. For example:
The promise/callback will never be resolved when we've enabled
useSockJs:true
.The text was updated successfully, but these errors were encountered: