@botmesh/core - v2.0.0-alpha.2
    Preparing search index...

    Interface ChaosDuplicateOptions

    Webhook-style redelivery of inbound events.

    interface ChaosDuplicateOptions {
        probability?: number;
        copies?: number;
        delayMs?: ChaosDelay;
    }
    Index
    probability?: number

    Probability [0, 1] that an inbound event is redelivered. Default 1.

    copies?: number

    Extra copies per redelivered event. Positive integer; default 1.

    delayMs?: ChaosDelay

    Delay of each copy after the original. 0 (default) delivers the copy in the same tick, right after the original — the hardest case for idempotency, since nothing has been processed yet.