pause abstract method
Stops pulling new messages without cancelling.
This is the first move of a graceful shutdown: stop taking work, then finish what is already in hand. Cancelling outright would abandon messages mid-handler, which for an at-least-once broker means they are redelivered — correct, but a duplicate nobody needed.
Implementation
Future<void> pause();