trq_topic()
#
trq_topic()
returns the topic associated with the given queue.
Prototype
json_t *trq_topic(
tr_queue trq
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The queue instance from which to retrieve the topic. |
Return Value
A json_t *
representing the topic of the queue.
Notes
The returned json_t *
is owned by the queue and should not be modified or freed by the caller.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples