Angular Signal Generators
    Preparing search index...

    Options for liftSignal.

    interface LiftSignalOptions<T> {
        cloneFn?: (source: T) => T;
        debugName?: string;
        equal?: ValueEqualityFn<T>;
    }

    Type Parameters

    • T
    Index

    Properties

    cloneFn?: (source: T) => T

    Because signals only place nice with mutable objects, all mutations work by first cloning. There is a default clone function present, but if there are problems with it, you can provide your own.

    debugName?: string

    A debug name for the signal. Used in Angular DevTools to identify the signal. Only used if a WritableSignal is NOT passed as the first argument.

    equal?: ValueEqualityFn<T>

    Custom equality function. Only used if a value and not a WritableSignal is passed as the first argument.