Each time the QBWC comes around polling for any commands to run, I want to replace the buildRequest() call with something like externalModule.fetchRequests(callback) and make it asynchronous since it is impossible to have a synchronous call to MySQL (where I am storing the commands that need to be run).
This will also remove the hard-coded example commands and anyone to pass in their own qbXML.
This is a continuation of Issue #6 in
qbws
.Each time the QBWC comes around polling for any commands to run, I want to replace the
buildRequest()
call with something likeexternalModule.fetchRequests(callback)
and make it asynchronous since it is impossible to have a synchronous call to MySQL (where I am storing the commands that need to be run).This will also remove the hard-coded example commands and anyone to pass in their own qbXML.