Test whether the queue is empty.
(self, tr)
| 110 | |
| 111 | @fdb.transactional |
| 112 | def empty(self, tr): |
| 113 | """Test whether the queue is empty.""" |
| 114 | return self._getFirstItem(tr) is None |
| 115 | |
| 116 | @fdb.transactional |
| 117 | def peek(self, tr): |
no test coverage detected