Note notification pickup caveat for nonblocking iterator
This commit is contained in:
parent
01153f784a
commit
049e37bf26
@ -42,7 +42,8 @@ impl<'conn> Notifications<'conn> {
|
||||
/// # Note
|
||||
///
|
||||
/// This iterator may start returning `Some` after previously returning
|
||||
/// `None` if more notifications are received.
|
||||
/// `None` if more notifications are received. However, those notifications
|
||||
/// will not be registered until the connection is used in some way.
|
||||
pub fn iter<'a>(&'a self) -> Iter<'a> {
|
||||
Iter {
|
||||
conn: self.conn,
|
||||
|
Loading…
Reference in New Issue
Block a user