Skip to content

Function: observe()

observe(prev, samples, meta): Telemetry

Defined in: telemetry.ts:368

Fold one batch of samples (one pointer event's worth, after coalescing) into the running telemetry. Pure — the Lab's cell calls it, the tests call it, and neither needs a canvas.

Parameters

prev

Telemetry

samples

readonly PenSample[]

meta

coalesced

number

predicted

number

support

PenSupport

Returns

Telemetry