Skip to content

Commit 4e2b553

Browse files
Kotlin: link to subscribe API docs from flow extension functions
1 parent e68f835 commit 4e2b553

File tree

1 file changed

+2
-2
lines changed
  • objectbox-kotlin/src/main/kotlin/io/objectbox/kotlin

1 file changed

+2
-2
lines changed

objectbox-kotlin/src/main/kotlin/io/objectbox/kotlin/Flow.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ fun <T> SubscriptionBuilder<T>.toFlow(): Flow<T> = callbackFlow {
3333
}
3434

3535
/**
36-
* Shortcut for `BoxStore.subscribe(forClass).toFlow()`, see [toFlow].
36+
* Shortcut for `BoxStore.subscribe(forClass).toFlow()`, see [BoxStore.subscribe] and [toFlow] for details.
3737
*/
3838
@ExperimentalCoroutinesApi
3939
fun <T> BoxStore.flow(forClass: Class<T>): Flow<Class<T>> = this.subscribe(forClass).toFlow()
4040

4141
/**
42-
* Shortcut for `query.subscribe().toFlow()`, see [toFlow].
42+
* Shortcut for `query.subscribe().toFlow()`, see [Query.subscribe] and [toFlow] for details.
4343
*/
4444
@ExperimentalCoroutinesApi
4545
fun <T> Query<T>.flow(): Flow<MutableList<T>> = this@flow.subscribe().toFlow()

0 commit comments

Comments
 (0)