subscribeToViewEvents
suspend fun subscribeToViewEvents(eventFlow: MutableSharedFlow<PagingViewEvent>)
Content copied to clipboard
Collect events from the view to triggers page loads. Will suspend until eventFlow is terminated by sending PagingViewEvent.Terminate. This can be done by calling PagingEventEmitter.stop
Parameters
eventFlow
The flow of event coming from the view; May be emitted by PagingEventEmitter