@bodil/signal
    Preparing search index...

    Namespace Signal

    Namespaces

    subtle

    Classes

    Array

    An array which behaves like a signal.

    Computed

    A signal which contains a reactive computation.

    Map

    A map which behaves like a signal.

    ReadonlyArray

    A read-only view of a Signal.Array.

    ReadonlyMap

    A read-only view of a Signal.Map.

    State

    A signal which contains a writable value.

    Type Aliases

    Any

    A type representing any kind of signal, either a Signal.State or a Signal.Computed.

    Options

    Functions

    array

    Create a new Signal.Array and optionally populate it from the provided Iterable.

    asyncComputed

    Construct a new Signal.Computed signal using an async computation function.

    computed

    Construct a new Signal.Computed signal using the provided computation function.

    effect

    Create an effect responding to signal changes.

    from

    Construct a new Signal.State signal containing the provided value.

    is

    Test whether the given value is a signal.

    map

    Create a new Signal.Map and optionally populate it from the provided Iterable.

    state

    Construct a new Signal.State signal containing the provided value.

    subscribe

    Suscribe to a signal.