Skip to content

Commit

Permalink
Merge pull request #16 from jordanhiltunen/patch-1
Browse files Browse the repository at this point in the history
Correct batch publishing function name in README.md
  • Loading branch information
nicholassm authored Jul 17, 2024
2 parents 22e1323 + dd0eb5f commit fe73a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fn main() {
}

// Publish a batch of events into the Disruptor.
producer.publish_batch(5, |iter| {
producer.batch_publish(5, |iter| {
for e in iter { // `iter` is guaranteed to yield 5 events.
e.price = 42.0;
}
Expand Down

0 comments on commit fe73a85

Please sign in to comment.