mirror of
https://github.com/ouchadam/small-talk.git
synced 2025-02-16 12:10:45 +01:00
ensuring that the startSync emits an initial value to signifying its running
This commit is contained in:
parent
7fff5face4
commit
4fb6535310
@ -89,6 +89,7 @@ internal class DefaultSyncService(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.onStart {
|
.onStart {
|
||||||
|
emit(Unit)
|
||||||
val subscriptions = syncSubscriptionCount.incrementAndGet()
|
val subscriptions = syncSubscriptionCount.incrementAndGet()
|
||||||
logger.matrixLog(MatrixLogTag.SYNC, "flow onStart - count: $subscriptions")
|
logger.matrixLog(MatrixLogTag.SYNC, "flow onStart - count: $subscriptions")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user