diff --git a/include/caosdb/transaction.h b/include/caosdb/transaction.h index 78524cf007c397c858ae582d8e0097b40c07ae53..0fb724a5316e6f615d4236aa24dc44d338fce803 100644 --- a/include/caosdb/transaction.h +++ b/include/caosdb/transaction.h @@ -345,7 +345,8 @@ public: * * A client may request the current status at any time via GetStatus(). * - * Use WaitForIt() to join the back-ground execution of this transaction. + * Use WaitForIt() to join the back-ground execution of this transaction, otherwise the behaviour + * of getting the ResultSet is undefined. */ auto ExecuteAsynchronously() noexcept -> StatusCode; @@ -353,7 +354,8 @@ public: * Join the background execution and return the status when the execution * terminates. * - * Use this after ExecuteAsynchronously(). + * Use this after ExecuteAsynchronously(), otherwise the TransactionStatus still remains + * EXECUTING. */ [[nodiscard]] auto WaitForIt() const noexcept -> TransactionStatus;