Add a callback to the history (append only). Expects a CallbackHistoryItem namedtuple.
(self, cbhistory)
| 187 | self.last_read = 0 |
| 188 | |
| 189 | def new_callback(self, cbhistory): |
| 190 | ''' |
| 191 | Add a callback to the history (append only). |
| 192 | Expects a CallbackHistoryItem namedtuple. |
| 193 | ''' |
| 194 | logger.debug("{}", cbhistory) |
| 195 | self.history.append(cbhistory) |
| 196 | |
| 197 | def all(self): |
| 198 | ''' |