Companion

object Companion

Functions

Link copied to clipboard
fun busFor(ditto: DittoBase): DittoBus

Access the Ditto Bus preview using a given Ditto instance.

Link copied to clipboard
fun constructDittoFallible(dependencies: DittoDependencies, identity: DittoIdentity = OfflinePlayground(dependencies)): Ditto

Constructs a Ditto instance in a new way that prevents a crash if the rust core has a problem obtaining a lock on the persistence directory. Should an issue occur, this method instead throws a DittoError.