ixfx
    Preparing search index...

    Type Alias TimeoutValueOptions<TTriggerValue>

    TimeoutValueOptions: Trigger<TTriggerValue> & {
        immediate?: boolean;
        interval: Interval;
        repeat?: boolean;
    }

    Type Parameters

    • TTriggerValue

    Type declaration

    • Optionalimmediate?: boolean

      If true (default) start the timeout immediately, even before the first value. If false, it won't timeout until the first upstream value happens.

    • interval: Interval

      Interval before emitting trigger value Default: 1s

    • Optionalrepeat?: boolean

      Whether to repeatedly trigger even if upstream source doesn't emit values. When false (default) it will emit a max of one value after a source value if interval is reached. When true, it will continue emitting values at interval. Default: false