ProteusClientProviderImpl

class ProteusClientProviderImpl(rootProteusPath: String, userId: <Error class: unknown class>, passphraseStorage: <Error class: unknown class>, kaliumConfigs: KaliumConfigs, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl) : ProteusClientProvider

Constructors

Link copied to clipboard
constructor(rootProteusPath: String, userId: <Error class: unknown class>, passphraseStorage: <Error class: unknown class>, kaliumConfigs: KaliumConfigs, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl)

Functions

Link copied to clipboard
open suspend override fun clearLocalFiles()
Link copied to clipboard
open suspend override fun getOrCreate(): <Error class: unknown class>

Returns the ProteusClient or creates new one if doesn't exists.

Link copied to clipboard
open suspend override fun getOrError(): Either<CoreFailure, <Error class: unknown class>>

Returns the ProteusClient, retrieves it from local files or returns a failure if local files doesn't exist.