TinyBase logoTinyBase β

provideMetrics

The provideMetrics function registers a Metrics object with a given Id into the current Provider context.

provideMetrics(
  metricsId: string,
  metrics: Metrics,
): void
TypeDescription
metricsIdstring

The Id to register the Metrics object under.

metricsMetrics

The Metrics object to register.

returnsvoid

This has no return value.

Since

v8.1.0