@@ -130,12 +130,14 @@ impl EventScannerBuilder<Unspecified> {
130130 ///
131131 /// # Key behaviors
132132 ///
133- /// - **Continuous streaming**: Events are delivered in multiple messages as they are fetched
134- /// - **Chronological order**: Events are always delivered oldest to newest
135- /// - **Default range**: By default, scans from `Earliest` to `Latest` block
136- /// - **Batch control**: Use `.max_block_range(n)` to control how many blocks are queried per
133+ /// * **Continuous streaming**: Events are delivered in multiple messages as they are fetched
134+ /// * **Chronological order**: Events are always delivered oldest to newest
135+ /// * **Default range**: By default, scans from `Earliest` to `Latest` block
136+ /// * **Batch control**: Use `.max_block_range(n)` to control how many blocks are queried per
137137 /// RPC call
138- /// - **Completion**: The scanner completes when the entire range has been processed
138+ /// * **Reorg handling**: Performs reorg checks when streaming events from non-finalized blocks;
139+ /// if a reorg is detected, streams events from the reorged blocks
140+ /// * **Completion**: The scanner completes when the entire range has been processed.
139141 #[ must_use]
140142 pub fn historic ( ) -> EventScannerBuilder < Historic > {
141143 EventScannerBuilder :: default ( )
@@ -190,11 +192,11 @@ impl EventScannerBuilder<Unspecified> {
190192 ///
191193 /// # Key behaviors
192194 ///
193- /// - **Real-time streaming**: Events are delivered as new blocks are confirmed
194- /// - **Reorg protection**: Waits for configured confirmations before emitting events
195- /// - **Continuous operation**: Runs indefinitely until the scanner is dropped or encounters an
195+ /// * **Real-time streaming**: Events are delivered as new blocks are confirmed
196+ /// * **Reorg protection**: Waits for configured confirmations before emitting events
197+ /// * **Continuous operation**: Runs indefinitely until the scanner is dropped or encounters an
196198 /// error
197- /// - **Default confirmations**: By default, waits for 12 block confirmations
199+ /// * **Default confirmations**: By default, waits for 12 block confirmations
198200 ///
199201 /// # Reorg behavior
200202 ///
@@ -222,8 +224,8 @@ impl EventScannerBuilder<Unspecified> {
222224 /// EventScannerBuilder::sync().from_latest(10);
223225 /// ```
224226 ///
225- /// See [`from_block`](EventScannerBuilder:: from_block) and
226- /// [`from_latest`](EventScannerBuilder:: from_latest) for details on each mode.
227+ /// See [`from_block`](crate::EventScannerBuilder#method. from_block-2 ) and
228+ /// [`from_latest`](crate::EventScannerBuilder#method. from_latest) for details on each mode.
227229 #[ must_use]
228230 pub fn sync ( ) -> EventScannerBuilder < Synchronize > {
229231 EventScannerBuilder :: default ( )
@@ -290,20 +292,20 @@ impl EventScannerBuilder<Unspecified> {
290292 ///
291293 /// # Key behaviors
292294 ///
293- /// - **Single delivery**: Each registered stream receives at most `count` logs in a single
295+ /// * **Single delivery**: Each registered stream receives at most `count` logs in a single
294296 /// message, chronologically ordered
295- /// - **One-shot operation**: The scanner completes after delivering messages; it does not
297+ /// * **One-shot operation**: The scanner completes after delivering messages; it does not
296298 /// continue streaming
297- /// - **Flexible count**: If fewer than `count` events exist in the range, returns all available
299+ /// * **Flexible count**: If fewer than `count` events exist in the range, returns all available
298300 /// events
299- /// - **Default range**: By default, scans from `Earliest` to `Latest` block
300- /// - **Reorg handling**: Periodically checks the tip to detect reorgs during the scan
301+ /// * **Default range**: By default, scans from `Earliest` to `Latest` block
302+ /// * **Reorg handling**: Periodically checks the tip to detect reorgs during the scan
301303 ///
302304 /// # Notifications
303305 ///
304306 /// The scanner emits the following notification before delivering log data:
305307 ///
306- /// - **[`Notification::NoPastLogsFound`][no_logs]**: Emitted when no matching logs are found in
308+ /// * **[`Notification::NoPastLogsFound`][no_logs]**: Emitted when no matching logs are found in
307309 /// the scanned range.
308310 ///
309311 /// # Arguments
@@ -392,10 +394,10 @@ impl<M> EventScannerBuilder<M> {
392394 /// # Example
393395 ///
394396 /// If scanning events from blocks 1000–1099 (100 blocks total) with `max_block_range(30)`:
395- /// - Batch 1: blocks 1000–1029 (30 blocks)
396- /// - Batch 2: blocks 1030–1059 (30 blocks)
397- /// - Batch 3: blocks 1060–1089 (30 blocks)
398- /// - Batch 4: blocks 1090–1099 (10 blocks)
397+ /// * Batch 1: blocks 1000–1029 (30 blocks)
398+ /// * Batch 2: blocks 1030–1059 (30 blocks)
399+ /// * Batch 3: blocks 1060–1089 (30 blocks)
400+ /// * Batch 4: blocks 1090–1099 (10 blocks)
399401 #[ must_use]
400402 pub fn max_block_range ( mut self , max_block_range : u64 ) -> Self {
401403 self . block_range_scanner . max_block_range = max_block_range;
0 commit comments