Struct PullResponse (2.11.0)

The response for a blocking pull.

If the application invokes handler.nack() or allows handler to go out of scope, then the service will redeliver the message.

With exactly-once delivery subscriptions, the service will stop redelivering the message once the application invokes handler.ack() and the invocation succeeds. With best-efforts subscriptions, the service may redeliver the message, even after a successful handler.ack() invocation.

If handler is not an rvalue, you may need to use std::move(handler).ack() or std::move(handler).nack().

See Also