trq_load()

trq_load()#

trq_load() loads pending messages from the queue and returns an iterator for traversal.

Prototype

int trq_load(
    tr_queue trq
);

Parameters

Key

Type

Description

trq

tr_queue

The queue instance from which pending messages will be loaded.


Return Value

Returns an iterator for traversing the loaded messages.

Notes

Use trq_load_all() to load all messages, including non-pending ones.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples