core / type

Signal

A union type representing either a source or derived signal.

Source: src/_core/types.ts

A union type representing either a source or derived signal.

Signature

export type Signal<T> = SourceSignal<T> | DerivedSignal<T>;

Type Parameters

  • The type of value the signal holds

See Also

  • SourceSignal - For mutable source signals
  • DerivedSignal - For read-only derived signals