initial

fun <T> initial(subscriberStatus: SubscriberStatus = SubscriberStatus.NoSubscribers): SubscriptionState<T>

Creates a new SubscriptionState with the SubscriptionStatus.Pending status.

Parameters

subscriberStatus

The status of the subscriber.