Skip to content

TimeoutFnc call results in undefined error  #2

@Macgyverman

Description

@Macgyverman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions