Steven Fackler
91493f2051
Implement size_hint for BlockingIter
...
Unlike the other two iterators, this will never return None
2015-12-27 12:59:21 -07:00
Steven Fackler
bb837bd872
Make the default notifications iterator read nonblocking
...
It is always super confusing as to when a notification that's been sent
to the client will actually show up in the old version of this iterator,
so it's best to have it see if there's anything waiting in the TCP
buffer.
Closes #149
2015-12-27 10:15:49 -07:00
Steven Fackler
4f37625cd6
Shorten error variant names
...
No reason to repeat Error
2015-12-25 20:14:09 -07:00
Steven Fackler
fc8ab87797
Cleanup
2015-12-15 23:30:50 -08:00
Steven Fackler
67bace6fc0
Rustfmt
2015-11-15 19:54:01 -08:00
Steven Fackler
b6b19083de
Typo
2015-10-20 23:18:13 -07:00
Steven Fackler
049e37bf26
Note notification pickup caveat for nonblocking iterator
2015-10-20 23:15:59 -07:00
Steven Fackler
01153f784a
Add a notifications iterator that waits with a timeout
...
Closes #105
2015-10-20 23:13:45 -07:00
Steven Fackler
bf021bb475
Move desync check back a bit
2015-09-19 11:02:10 -07:00
Steven Fackler
e7d4a7e062
Drop dependency on debug builders
2015-09-18 22:55:32 -07:00
Steven Fackler
a2609f6c90
Refactor notification API
2015-09-18 22:51:11 -07:00
Steven Fackler
008f14b459
Move notification stuff to its own module
2015-09-18 20:55:01 -07:00