ol.trixnity.client
Matrix client lifecycle, sync control, and client-level state flows.
Upstream Mapping
This namespace maps to client-wide APIs on Trixnity’s
de.connect2x.trixnity.client.MatrixClient.
The public wrappers here cover:
-
opening or resuming a client with
open -
sync lifecycle tasks such as
start-sync,await-running,stop-sync, andclose -
synchronous
current-*accessors paired with relieved Missionary flows for profile, server data, sync state, login state, and startup state
Use ol.trixnity.repo when you want the built-in sqlite4clj-backed
repository setup, and ol.trixnity.room, ol.trixnity.user,
ol.trixnity.notification, ol.trixnity.verification, and
ol.trixnity.key for service-specific APIs.
open
(open config)
Opens or resumes a MatrixClient using the built-in sqlite4clj-backed
repository configuration.
If config already contains a client under ::mx/client, the returned task
resolves to that client immediately.
await-running
(await-running client)
(await-running client opts)
Waits for client to reach RUNNING.
Supported opts:
{::mx/timeout java.time.Duration}