trq_check_pending_rowid()#
trq_check_pending_rowid() checks the pending status of a message identified by its rowid in the queue.
Prototype
int trq_check_pending_rowid(
tr_queue trq,
uint64_t rowid
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
The queue instance to check. |
|
|
The unique row identifier of the message. |
Return Value
Returns -1 if the rowid does not exist, 1 if the message is pending, and 0 if it is not pending.
Notes
This function provides a low-level check for message status in the queue.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples