SubscriptionState
State for managing the execution result of Subscription.
Types
Properties
Link copied to clipboard
The timestamp when the error occurred.
Link copied to clipboard
Returns true
if the subscription has subscribers, false
otherwise.
Link copied to clipboard
The timestamp when the data was updated.
Link copied to clipboard
The received status of the subscription.
Link copied to clipboard
The subscriber status of the subscription.
Functions
Link copied to clipboard
Returns true if the SubscriptionModel is awaited.
Link copied to clipboard
fun omit(keys: Set<SubscriptionState.OmitKey>, defaultSubscriberStatus: SubscriberStatus = SubscriberStatus.NoSubscribers): SubscriptionState<T>
Returns a new SubscriptionState with the items included in keys omitted from the current SubscriptionState.