diff --git a/src/concepts/components/callbacks.md b/src/concepts/components/callbacks.md index a2c1155..3c5c6e1 100644 --- a/src/concepts/components/callbacks.md +++ b/src/concepts/components/callbacks.md @@ -16,7 +16,7 @@ Registers a callback that will send a message to the component's update mechanis Sends a message to the component immediately after the current loop finishes, causing another update loop to initiate. -### send\_message\_batch +### batch\_callback Registers a callback that sends a batch of many messages at once when it is executed. If any of the messages cause the component to re-render, the component will re-render after all messages in the batch have been processed. A `Fn(IN) -> COMP::Message` is provided and a `Callback` is returned.