Angular Signal Generators
    Preparing search index...

    Options that control the behavior of inspect. Options specific to inspect can be set globally from INSPECT_DEFAULTS.

    interface InspectOptions<T> {
        debugName?: string;
        equal?: ValueEqualityFn<NestSignalValue<T>>;
        ignoreErrors?: boolean;
        injector?: Injector;
        reporter?: (value: NestSignalValue<T>) => void;
        runInProdMode?: boolean;
        skipInitial?: boolean;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Properties

    debugName?: string

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

    equal?: ValueEqualityFn<NestSignalValue<T>>

    A comparison function which defines equality for signal values.

    ignoreErrors?: boolean

    If true, errors will be caught, and the value will be set to undefined.

    injector?: Injector

    Needed if not created in an injection context.

    reporter?: (value: NestSignalValue<T>) => void

    Overrides the default reporter.

    runInProdMode?: boolean

    By default inspect will only work in dev mode. Set to true to run in prod mode.

    skipInitial?: boolean

    If true, then the first output is not reported. This is dependent on one when the first effect actually executes.