Synopsis:
adoBusyState()
Arguments:
NONE
Description: Returns 1 if the current task is executing an asynchronous function such as adoConnOpen(), adoRSetQuery(), adoRSetCmd(). This can be used by a task in non-blocking mode to poll for the completion of an asynchronous function. Once the asyncronous function has completed then adoBusyState() function will return 0. Note that this will only return the status of the asyncronous functions initiated by the calling task. If another task has started the asynchronous function then adoConnState() or adoRSetState() should be used instead to determine when the function has completed.
Returns: 1 if there is an asyncronous function still running that was initiated by this task, 0 if there are no asynchronous functions running that we started by this task.