Skip to content

@grabm/abm/analytics / Class: MetricRegistry<R> ​

ts
import { MetricRegistry } from '@grabm/abm/analytics'

Usage guide · Package exports

Type Parameters ​

R ​

R extends SharedGraphRunResult = RunResult

Constructors ​

Constructor ​

ts
new MetricRegistry<R>(): MetricRegistry<R>;

Returns ​

MetricRegistry<R>

Methods ​

get() ​

ts
get(id): MetricPlugin<R>;

Parameters ​

id ​

string

Returns ​

MetricPlugin<R>


register() ​

ts
register(plugin): this;

Parameters ​

plugin ​

MetricPlugin<R>

Returns ​

this

Documentation for the grABM library.