getValue

abstract fun <T> getValue(key: Key<T>): Flow<T?>

Asynchronous retriever of the value of the given preference key. The returned flow will be populated with values when SDK is ready. Note, that this method works asynchronously and the flow may contain null even if the SDK is ready if the background thread populating it is busy