TransientEqual

Decides whether a new reading says anything the old one did not, so subscribers are woken only for a real change.

@internote/canvas-sdkType
On this page
import { TransientEqual } from '@internote/canvas-sdk';

Only the publisher knows what a meaningless change looks like: a scale bar that has moved a third of a pixel has not moved.

#Signature

(previous: T, next: T) => boolean

Declared in packages/canvas-sdk/src/storage/transient.ts:52.

Last updated