rememberSubscription
Remember a SubscriptionObject and subscribes to the subscription state of key.
Return
A SubscriptionObject each the subscription state changed.
Parameters
Type of data to receive.
The SubscriptionKey for managing subscription.
The configuration for the subscription. By default, it uses the SubscriptionConfig.Default.
The SubscriptionClient to resolve key. By default, it uses the LocalSubscriptionClient.
Remember a SubscriptionObject and subscribes to the subscription state of key.
Return
A SubscriptionObject with selected data each the subscription state changed.
Parameters
Type of data to receive.
Type of selected data.
The SubscriptionKey for managing subscription.
A function to select data from T.
The configuration for the subscription. By default, it uses the SubscriptionConfig.Default.
The SubscriptionClient to resolve key. By default, it uses the LocalSubscriptionClient.