ProteusClientProvider

Functions

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

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

Link copied to clipboard
abstract suspend 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.