Lynx

Home > @lynx-js/genui > SignalStore > getSignal

SignalStore.getSignal() method

Signature:

getSignal(path: string, initialValue?: unknown): Signal<unknown>;

Parameters

Parameter

Type

Description

path

string

initialValue

unknown

(Optional)

Returns:

Signal<unknown>

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.