Documentation
    Preparing search index...

    A Signal whose value may be updated using the .set(...) method.

    interface WritableSignalTrait<GValue> {
        asReadonly(): SignalTrait<GValue>;
        capture(): void;
        get(): GValue;
        set(value: SignalValueOrError<GValue>): void;
        takeSnapshot(): TransientSnapshotChanged;
        throw(error: unknown): void;
        trackActivity(onActivity: TransientActivity): UndoFunction;
        update(updateFunction: SignalUpdateFunctionCallback<GValue>): void;
    }

    Type Parameters

    • GValue

    Hierarchy (View Summary)

    Implemented by

    Index

    Methods