From 2a1c4b291a11ec50e7dde771d061cadb883b71c2 Mon Sep 17 00:00:00 2001 From: Mez Pahlan Date: Thu, 27 Feb 2020 02:00:08 +0000 Subject: [PATCH] Fix typo in RxStore (#119) * Update KDoc for Store::observe Refer to RxJava Flowable instead of Coroutine Flow. * Update KDoc for StoreBuilder::withSinglePersister The function `persister` is in a different class so we need to refer to it by its FQN otherwise the IDE whinges at us. --- store-rx2/src/main/kotlin/com/dropbox/store/rx2/RxStore.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/store-rx2/src/main/kotlin/com/dropbox/store/rx2/RxStore.kt b/store-rx2/src/main/kotlin/com/dropbox/store/rx2/RxStore.kt index 3531f0e..181623d 100644 --- a/store-rx2/src/main/kotlin/com/dropbox/store/rx2/RxStore.kt +++ b/store-rx2/src/main/kotlin/com/dropbox/store/rx2/RxStore.kt @@ -21,7 +21,7 @@ import kotlinx.coroutines.rx2.await import kotlinx.coroutines.rx2.rxCompletable /** - * Return a flow for the given key + * Return a [Flowable] for the given key * @param request - see [StoreRequest] for configurations */ @ExperimentalCoroutinesApi @@ -91,7 +91,7 @@ fun StoreBuilder.withScheduler( * Connects a (Non Flow) [Single] source of truth that is accessible via [reader], [writer], * [delete], and [deleteAll]. * - * @see persister + * @see com.dropbox.android.external.store4.StoreBuilder.persister */ @FlowPreview @ExperimentalCoroutinesApi