How to properly detect pending upload/download in device sync kotlin-realm

I am expecting a function detect if there was a pending upload or download in device dync using kotlin realm.

realm.syncSession.pendingUpload.collectFlow() // possible count, docs data??
realm.syncSession.pendingDownload.collectFlow() // possible count, docs data??

Hi @Ron_June_Valdoz

You can monitor pending upload/download status through progress flows available on syncSession.

There are different options for monitoring current outstanding transfers or to continously monitor the flow.

NOTE: This is currently only available for flexible sync in our most recent 2.0.0-SNAPSHOT, while it has been available for partition based sync for a long while.