Spawn a thread which processes WebSocket messages as they are received.
(&self)
| 307 | |
| 308 | /// Spawn a thread which processes WebSocket messages as they are received. |
| 309 | pub fn run_threaded(&self) -> std::thread::JoinHandle<()> { |
| 310 | self.imp.run_threaded() |
| 311 | } |
| 312 | |
| 313 | /// Run an `async` loop which processes WebSocket messages when polled. |
| 314 | pub async fn run_async(&self) -> __sdk::Result<()> { |