[][src]Function pulsar_sys::pulsar_consumer_acknowledge_cumulative_async

pub unsafe extern "C" fn pulsar_consumer_acknowledge_cumulative_async(
    consumer: *mut pulsar_consumer_t,
    message: *mut pulsar_message_t,
    callback: pulsar_result_callback,
    ctx: *mut c_void
)

Asynchronously acknowledge the reception of all the messages in the stream up to (and including) the provided message.

This method will initiate the operation and return immediately. The provided callback will be triggered when the operation is complete.

@param message the message to acknowledge @param callback callback that will be triggered when the message has been acknowledged