Skip to content

Commit a5b6104

Browse files
committed
docs(engine): fix transact_batch comment
1 parent 3a9dbdc commit a5b6104

File tree

1 file changed

+6
-2
lines changed
  • crates/engine/tree/src/tree/payload_processor

1 file changed

+6
-2
lines changed

crates/engine/tree/src/tree/payload_processor/prewarm.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,12 @@ where
435435
/// Accepts an [`mpsc::Receiver`] of transactions and a handle to prewarm task. Executes
436436
/// transactions and streams [`PrewarmTaskEvent::Outcome`] messages for each transaction.
437437
///
438-
/// Returns `None` if executing the transactions failed to a non Revert error.
439-
/// Returns the touched+modified state of the transaction.
438+
/// Accepts an [`mpsc::Receiver`] of transactions and a handle to prewarm task. Executes
439+
/// transactions and streams [`PrewarmTaskEvent::Outcome`] messages for each transaction.
440+
///
441+
/// This function processes transactions sequentially from the receiver and emits outcome events
442+
/// via the provided sender. Execution errors are logged and tracked but do not stop the batch
443+
/// processing unless the task is explicitly cancelled.
440444
///
441445
/// Note: There are no ordering guarantees; this does not reflect the state produced by
442446
/// sequential execution.

0 commit comments

Comments
 (0)