takeTheLead

abstract suspend fun takeTheLead(context: Context): ApiResult<Any>

Requests to take the lead on the current process.

Return

ApiResultApiResult.Success if operation done successfully, ApiResult.Error<MyBusinessError> otherwise

See also

Parameters

context

Context The application context.