execute

abstract suspend fun execute(): R

Executes ApiAction and returns its result. This function is suspendable.

Return

Api result as R.

Throws

kotlinx.coroutines.CancellationException

Thrown when coroutine scope is cancelled.