RWDBStatus Behavior in the Asynchronous Context
An
RWDBStatus that is a future object can be produced directly by some of the asynchronous functions listed in
Asynchronous Calls in the DB Interface Module, or by the status method of any other future object. The following behavior applies to all
RWDBStatus future objects.
This call will block since it can be answered only after completion of the asynchronous call:
bool
RWDBStatus::isValid()
This call will not block. If the asynchronous call has not completed, the returned status will be
RWDBStatus::notReady.
RWDBStatus::ErrorCode
RWDBStatus::errorCode()
All the other methods of
RWDBStatus will not block; however, they won't return meaningful messages either.