DefaultMetrics

The default Metrics implementation provided by FlowMVI.

As is, this object does nothing useful, and the returned snapshot will not contain any non-empty values.

To actually update the MetricsSnapshot returned, install the pro.respawn.flowmvi.metrics.dsl.metricsDecorator that will do the work of collecting metrics. (See Metrics for more details)

An instance can be obtained from the pro.respawn.flowmvi.metrics.dsl.metrics DSL function.

Types

Link copied to clipboard
object Companion

Static helpers namespace.

Functions

Link copied to clipboard
open suspend override fun snapshot(): MetricsSnapshot

Capture a point-in-time MetricsSnapshot of the attached store.