Accounts

Defines all APIs for managing the hub-account, this includes the registration phase.

Functions

Link copied to clipboard
@JvmName(name = "deleteAccount")
fun Accounts.blockingDeleteAccount(targetAccount: UUID)

Blocking-call variant of Accounts.deleteAccount.

Link copied to clipboard
abstract suspend fun deleteAccount(targetAccount: UUID)

Deletes the registered account with the associated UUID.

Link copied to clipboard
fun <T> HubClientCoroutineContextStrategy.runBlockingWithContext(block: suspend CoroutineScope.() -> T): T

Runs a new coroutine in HubClientCoroutineContextStrategy.clientCoroutineContext context and blocks the current thread until its completion. This function should not be used from a coroutine.

Properties

Link copied to clipboard

The hubClient's-coroutine-context. It can be used to explicit define in which CoroutineContext the new client will run.

Link copied to clipboard

Entry point to registration phase where one should retrieve his imahub-uuid at the end of it.