Interface: ReadonlySignal<T>

index.ReadonlySignal

Interface representing a read-only reactive signal container.

Remarks

Readonly signals expose only a .value getter. Accessing .value inside a reactive context establishes a dependency edge to the underlying computation or source.

Type parameters

Name Description
T The return type of the computed value.

Table of contents

Properties

Properties

value

Readonly value: T

The current derived value of the signal.

Accessing this property tracks dependencies if called within an active reactive context.