subscribeEventListAsFlow
inline fun <C : EventContent, E : ClientEvent<C>> ClientEventEmitter<*>.subscribeEventListAsFlow(priority: Int = Priority.DEFAULT): Flow<List<E>>
Subscribe events with a flow.
If you want, that exceptions are passed to the sync loop (so sync is cancelled on an error), you should use subscribeContent and unsubscribe.