readonly<T> function
Create a new plain readonly signal
Implementation
ReadonlySignal<T> readonly<T>(
/// The initial value for the signal
T value,
) {
return signal<T>(value);
}
Create a new plain readonly signal
ReadonlySignal<T> readonly<T>(
/// The initial value for the signal
T value,
) {
return signal<T>(value);
}