@tempots/dom

Signal.(constructor)

Represents a signal with a value of type T.

Signature:

constructor(value: T, equals: (a: T, b: T) => boolean);

Parameters

Parameter

Type

Description

value

T

The initial value of the signal.

equals

(a: T, b: T) => boolean

A function that determines whether two values of type T are equal.