@juulsgaard/signal-tools
    Preparing search index...

    Function debouncedThrottledSignal

    • Create a signal where values are throttled and debounced

      Type Parameters

      • T extends string | undefined

      Parameters

      • inputSignal: Signal<T>

        The input value to throttle and debounce

      • throttleDelay: number = 1000

        The delay between value emissions during continual input

      • debounceDelay: number = 300

        The amount of time the input needs to settle before a value is emitted

      • Optionaloptions: { injector?: Injector }

        Additional options

      Returns Signal<T>