collect

fun <V, F> GA<V, F>.collect(id: String = BASE_COLLECTOR_ID, collector: STAT_COLLECTOR): GA<V, F>

Allows you to collect statistical data using reactive programming by kotlinx.coroutines.flow.

Parameters

id

unique id for collector of GA.statisticsProvider

collector

yours collector for StatisticNote.