OneTryWatcher
faststream.broker.push_back_watcher.OneTryWatcher #
Bases: BaseWatcher
Initialize the class.
| PARAMETER | DESCRIPTION |
|---|---|
max_tries | Maximum number of tries allowed TYPE: |
logger | Optional logger object |
| RAISES | DESCRIPTION |
|---|---|
NotImplementedError | If the method is not implemented in the subclass. |
Source code in faststream/broker/push_back_watcher.py
add #
Add a message.
| PARAMETER | DESCRIPTION |
|---|---|
message_id | ID of the message to be added TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
None | None |