TinyBase logoTinyBase β

getMetrics

The getMetrics function returns the default Metrics object from the current Provider context (or a named one if an Id is provided).

getMetrics(id?: string): Metrics | undefined
TypeDescription
id?string

An optional Id of a named Metrics object in the Provider context.

returnsMetrics | undefined

The Metrics object, or undefined if not found.

Since

v8.1.0