SubscriptionObjectMapper
interface SubscriptionObjectMapper
A mapper that converts SubscriptionState to SubscriptionObject.
Functions
Link copied to clipboard
abstract fun <T, U> SubscriptionState<T>.toObject(subscription: SubscriptionRef<T>, select: (T) -> U): SubscriptionObject<U>
Converts the given SubscriptionState to SubscriptionObject.