subscribe

abstract val subscribe: SubscriptionReceiver.() -> Flow<T>

Function to subscribe to the data as Flow.

Receiver

SubscriptionReceiver You can use a custom SubscriptionReceiver within the subscribe function.