try_consume: Consume a message if there is one available

Description Usage Arguments Value See Also

Description

Consume a message if there is one available

Usage

1
try_consume(queue)

Arguments

queue

The queue object.

Value

A message, or NULL if there is not message to work on.

See Also

liteq for examples

Other liteq messages: ack, consume, is_empty, list_failed_messages, list_messages, message_count, publish, remove_failed_messages, requeue_failed_messages


liteq documentation built on May 2, 2019, 4:18 a.m.