Options for mapSignal.

interface MapSignalOptions<R> {
    debugName?: string;
    equal?: ValueEqualityFn<R>;
    injector?: Injector;
}

Type Parameters

  • R

Hierarchy

  • Pick<CreateSignalOptions<R>, "debugName">
    • MapSignalOptions

Properties

debugName?: string

A debug name for the signal. Used in Angular DevTools to identify the signal.

equal?: ValueEqualityFn<R>

An equal function put on the selector result.

injector?: Injector

This is only used if toSignal is needed to convert to a signal OR to get destroyedRef.