Manually bind an existing terminal session to an owner This is useful when you have an existing terminal session that wasn't created through get_or_create(). # Note If a binding already exists for this owner, it will be replaced.
(&self, owner_id: &str, terminal_session_id: &str)
| 143 | /// # Note |
| 144 | /// If a binding already exists for this owner, it will be replaced. |
| 145 | pub fn bind(&self, owner_id: &str, terminal_session_id: &str) { |
| 146 | self.bindings |
| 147 | .insert(owner_id.to_string(), terminal_session_id.to_string()); |
| 148 | } |
| 149 | |
| 150 | /// Unbind a terminal session from an owner without closing the session |
| 151 | /// |