Skip to main content

device_admitted

Function device_admitted 

Source
pub(crate) fn device_admitted(state: &AppState, device_id: &str) -> bool
Expand description

Whether an open feed of the paired device device_id goes on: false only for a computer once its host’s person stopped allowing computers. A device whose row is gone was revoked, and revoking closes its feeds itself, silently (revoke_impl); a read that fails now is not a reason to end a feed (the device’s next request is refused by admit if the store still can’t be read).