[][src]Function pulsar_sys::pulsar_consumer_receive_with_timeout

pub unsafe extern "C" fn pulsar_consumer_receive_with_timeout(
    consumer: *mut pulsar_consumer_t,
    msg: *mut *mut pulsar_message_t,
    timeoutMs: c_int
) -> pulsar_result

@param msg a non-const reference where the received message will be copied @param timeoutMs the receive timeout in milliseconds @return ResultOk if a message was received @return ResultTimeout if the receive timeout was triggered @return ResultInvalidConfiguration if a message listener had been set in the configuration