mirror of
https://github.com/ouchadam/small-talk.git
synced 2025-01-31 03:34:48 +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 {
|
||||
emit(Unit)
|
||||
val subscriptions = syncSubscriptionCount.incrementAndGet()
|
||||
logger.matrixLog(MatrixLogTag.SYNC, "flow onStart - count: $subscriptions")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user