onInitialData

Function to specify initial data.

You can specify initial data instead of the initial loading state.

override fun onInitialData(): SubscriptionInitialData<User> = {
getSubscriptionData(XxxSubscriptionKey.Id())
}

See also