DimensionInstance
Resolves, for each contributing Event, the value a Metric’s contribution is grouped under.
Remarks
Section titled “Remarks”The projector calls handle once per Dimension for every contributing Event and stores the
resulting identifier in the Dimension’s column. An undefined result stores the contribution
without a value for this Dimension. A string result must be a UUID.
Properties
Section titled “Properties”column
Section titled “column”
readonlycolumn:string
Name of the projection column that stores this Dimension’s values.
readonlyprn:string
PRN identifying this Dimension within the Metric.
Methods
Section titled “Methods”handle()
Section titled “handle()”handle(
event,ctx):Promise<string|ReadItem|undefined>
Determines this Dimension’s value for a contributing Event.
Parameters
Section titled “Parameters”The stored Event contributing to the Metric.
Read Runtime context for looking up current Items.
Returns
Section titled “Returns”Promise<string | ReadItem | undefined>
An Item, whose id is stored; a UUID string, stored as given; or undefined when
no value applies.

