hoodkit
    Preparing search index...

    Function runLogCursor

    • The gap-fill engine behind every RPC-backed hoodkit stream.

      It maintains a persistent block cursor and only advances it after the logs for a range have been decoded and pushed. If a poll throws — an RPC blip, a dropped socket, a rate limit — the cursor stays put, so the next successful poll re-requests the exact same range. No confirmed event is ever silently skipped, which is the property the reconnect gap-fill test asserts.

      Type Parameters

      • TLog
      • TEvent

      Parameters

      Returns () => void

      A stop() function that halts polling (does not close the stream).