[][src]Function dbus_tokio::connection::new_session_sync

pub fn new_session_sync(
) -> Result<(IOResource<SyncConnection>, Arc<SyncConnection>), Error>

Creates a connection to the session bus, to use with Tokio's default (multi-thread) scheduler.

Note: This function blocks until the connection is set up.