reportMetrics
fun <S : MVIState, I : MVIIntent, A : MVIAction> StoreBuilder<S, I, A>.reportMetrics(metrics: Metrics, offloadScope: CoroutineScope, offloadContext: CoroutineContext = Dispatchers.Default, interval: Duration = 30.seconds, flushOnStop: Boolean = true, name: String? = DefaultName, sink: MetricsSink)
fun <S : MVIState, I : MVIIntent, A : MVIAction> StoreBuilder<S, I, A>.reportMetrics(metrics: DefaultMetrics<S, I, A>, interval: Duration = 30.seconds, flushOnStop: Boolean = true, name: String? = DefaultName, sink: MetricsSink)
Install a new metricsReporter into the current pro.respawn.flowmvi.api.Store.