• Ensure a minimum length of time between values. Values being produced too quickly are dropped.

    In the following example, only three values will be let through.

    const chain = Chains.run(
    // Produce values every 10ms for 350ms
    Chains.From.timestamp({ interval: 10, elapsed: 350 }),
    // Only let a value through every 100ms
    Chains.Links.debounce(100)
    );

    Type Parameters

    • In

    Parameters

    Returns Link<In, In>