StreamMessage
faststream.broker.message.StreamMessage #
Bases: ABCStreamMessage[Msg]
correlation_id class-attribute
instance-attribute
#
message_id class-attribute
instance-attribute
#
ack abstractmethod
async
#
Acknowledge method.
PARAMETER | DESCRIPTION |
---|---|
**kwargs | Additional keyword arguments TYPE: |
RAISES | DESCRIPTION |
---|---|
NotImplementedError | If the method is not implemented. |
Note
The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)
Source code in faststream/broker/message.py
nack abstractmethod
async
#
A function to handle a nack.
PARAMETER | DESCRIPTION |
---|---|
**kwargs | Additional arguments TYPE: |
RETURNS | DESCRIPTION |
---|---|
None | None |
RAISES | DESCRIPTION |
---|---|
NotImplementedError | If the function is not implemented. |
Note
The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)
Source code in faststream/broker/message.py
reject abstractmethod
async
#
Rejects the operation.
PARAMETER | DESCRIPTION |
---|---|
**kwargs | Additional keyword arguments TYPE: |
RETURNS | DESCRIPTION |
---|---|
None | None |
RAISES | DESCRIPTION |
---|---|
NotImplementedError | Always raises NotImplementedError |
Note
The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)
Source code in faststream/broker/message.py
Last update: 2023-11-13