Interface: MetersNamespace
Defined in: interaction/meters.ts:22
Read access to the meter usage returned by the most recent interaction evaluation.
Access this namespace via allegro.meters.
Methods
all()
all():
MeterUsageMap
Defined in: interaction/meters.ts:24
Every meter's usage from the latest evaluation, keyed by meter slug.
Returns
get()
get(
slug):MeterUsage|null
Defined in: interaction/meters.ts:27
One meter's usage, or null when the visitor has none for it.
Parameters
| Parameter | Type |
|---|---|
slug | string |
Returns
MeterUsage | null