Function saltyrtc_client::task_loop
source · [−]pub fn task_loop(
client: WsClient,
salty: Arc<RwLock<SaltyClient>>,
event_tx: UnboundedSender<Event>
) -> Result<(Arc<Mutex<BoxedTask>>, impl Future<Item = (), Error = SaltyError>), SaltyError>
Expand description
Start the task loop.
Only call this function once you have finished the handshake!