dataSyncUser

expect abstract fun dataSyncUser(id: String): DataSyncUser

Creates a DataSyncUser handle for subscribing to DataSync realtime events about the user with the given id.

Convenience over channel(id).subscription() that additionally resolves projection channels; a plain channel subscription on the same ref also delivers these events. The handle is a channel filter on the ref and receives the full mix of DataSync leaf types routed to it.

actual abstract fun dataSyncUser(id: String): DataSyncUser

Create a handle to a DataSyncUser object that can be used to obtain a Subscription to DataSync realtime events about the user with the given id.

Return

a DataSyncUser handle for the given id.

Parameters

id

the user's ref/id.

actual abstract fun dataSyncUser(id: String): DataSyncUser