Function async_worker

Source
pub async fn async_worker(
    request_receiver: UnboundedReceiver<MatrixRequest>,
) -> Result<()>
Expand description

The entry point for an async worker thread that can run async tasks.

All this thread does is wait for [MatrixRequests] from the main UI-driven non-async thread(s) and then executes them within an async runtime context.