Settle the next message previously taken with :meth:`pop`. :param state: :type state:
(self, state: Optional[int] = None)
| 194 | return message |
| 195 | |
| 196 | def settle(self, state: Optional[int] = None) -> None: |
| 197 | """ |
| 198 | Settle the next message previously taken with :meth:`pop`. |
| 199 | |
| 200 | :param state: |
| 201 | :type state: |
| 202 | """ |
| 203 | delivery = self.unsettled.popleft() |
| 204 | if state: |
| 205 | delivery.update(state) |
| 206 | delivery.settle() |
| 207 | |
| 208 | |
| 209 | class BlockingReceiver(BlockingLink): |