checkServerSourceSuspend
private suspend fun <T> checkServerSourceSuspend(onValid: suspend () -> T, onNotValid: () -> T): T(source)
Executes the checkServerSourceSuspend step in the SDAI data layer.
Return
Result produced by checkServerSourceSuspend.
Author
Dmitriy Moroz
Parameters
onValid
callback invoked by the component.
onNotValid
callback invoked by the component.