sync

abstract suspend fun sync(): State

Sync the local SDK state with the backend. Should be called whenever appropriate to have the SDK in a synced state.

Return

the state of the sdk after sync

Throws