hoodchain - v0.1.0
    Preparing search index...

    Interface FeedOptions

    Options for subscribeFeed.

    interface FeedOptions {
        maxReconnects?: number;
        onConnect?: () => void;
        onError?: (error: Error) => void;
        reconnectDelayMs?: number;
        url?: string;
    }
    Index
    maxReconnects?: number

    Max reconnect attempts before giving up.

    10

    onConnect?: () => void

    Called on (re)connect.

    onError?: (error: Error) => void

    Called on connection errors (the client keeps reconnecting).

    reconnectDelayMs?: number

    Base reconnect delay in ms (doubles per attempt, capped at 30s).

    1000

    url?: string

    Feed endpoint.

    MAINNET_FEED_URL