trq_unload_msg()

trq_unload_msg()#

The trq_unload_msg() function unloads a message from the queue iterator, removing it from memory.

Prototype

void trq_unload_msg(
    q_msg   msg,
    int32_t result
);

Parameters

Key

Type

Description

msg

q_msg

The message to be unloaded from the queue iterator.

result

int32_t

The result code associated with the message unloading operation.


Return Value

This function does not return a value.

Notes

Use trq_unload_msg() to free a message from the queue iterator after processing it.

Prototype

// Not applicable in JS

Prototype

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