Options for timerSignal.

interface TimerSignalOptions {
    debugName?: string;
    injector?: Injector;
    stopped?: boolean;
}

Hierarchy

  • Pick<CreateSignalOptions<number>, "debugName">
    • TimerSignalOptions

Properties

debugName?: string

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

injector?: Injector

pass injector if this is not created in Injection Context

stopped?: boolean

If true, the timer isn't running at start. When running in a non-browser environment, the signal always begins in a stopped state by default.