Hello, I was attempting to set a timeout function on a call, but kept getting an undefined error.
I believe the problem is caused by line 145, we should change
executingFnc.timeout = setTimeout(self._waitingResponse[fncName].timeoutFnc, self._commands[fncName].timeout);
to
executingFnc.timeout = setTimeout(self._commands[fncName].timeoutFnc, self._commands[fncName].timeout);
Also, the manual mentions this function will be called with "Timeout occured", but no parameter is passed.
Hello, I was attempting to set a timeout function on a call, but kept getting an undefined error.
I believe the problem is caused by line 145, we should change
executingFnc.timeout = setTimeout(self._waitingResponse[fncName].timeoutFnc, self._commands[fncName].timeout);to
executingFnc.timeout = setTimeout(self._commands[fncName].timeoutFnc, self._commands[fncName].timeout);Also, the manual mentions this function will be called with "Timeout occured", but no parameter is passed.