@hiero-hackers/hiero-notifications - v0.1.0
    Preparing search index...

    Interface WatchOptions

    interface WatchOptions {
        condition?: Condition<unknown>;
        deadLetterPath?: string;
        deliveries: readonly Delivery[];
        deliveryRetries?: number;
        pollIntervalMs?: number;
        retryBackoffMs?: number;
        signal?: AbortSignal;
        watcher: Watcher;
    }
    Index
    condition?: Condition<unknown>

    Which payloads to notify about (default: all).

    deadLetterPath?: string

    Append notifications that STILL failed after every retry to this file (one JSON line each: when, channel, error, and the notification's text) — so a dead webhook loses nothing an operator can't replay. Without it, a final failure is only logged.

    deliveries: readonly Delivery[]
    deliveryRetries?: number

    Retries per failing delivery after the first attempt (default 2).

    pollIntervalMs?: number

    Milliseconds between polls (default 15000).

    retryBackoffMs?: number

    Backoff before the first retry, doubling each attempt (default 500ms).

    signal?: AbortSignal

    Stop the loop.

    watcher: Watcher