(&self, session: SessionInfo)
| 719 | } |
| 720 | |
| 721 | pub fn set_current_session(&self, session: SessionInfo) { |
| 722 | let mut current = futures::executor::block_on(self.current_session.write()); |
| 723 | *current = Some(session); |
| 724 | } |
| 725 | |
| 726 | pub fn get_current_session(&self) -> Option<SessionInfo> { |
| 727 | let current = futures::executor::block_on(self.current_session.read()); |
nothing calls this directly
no outgoing calls
no test coverage detected