run Guarded For Result
internal fun <T> runGuardedForResult(defaultValueOnException: T, errorLog: () -> String, earlyReturnIfDisabled: Boolean = true, earlyReturnIfDelayedInitEnabled: Boolean = true, earlyReturnIfUdmUninitialized: Boolean = true, block: suspend ERROR CLASS: Symbol not found for CoroutineScope.() -> T): T
Used when invoking a block of serially blocked code and returning some result back to the caller thread.
Parameters
default Value On Exception
A default value returned if an exception is thrown.
early Return If Disabled
When true, returns immediately if the SDK is disabled.
early Return If Delayed Init Enabled
When true, return immediately if delayed initialization is enabled.
early Return If Udm Uninitialized
When true, returns immediately if the udm is uninitialized.