Skip to content
This repository has been archived by the owner on Jul 19, 2020. It is now read-only.

fix send_message_batch to batch_callback #115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/concepts/components/callbacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<IN>` is returned.

Expand Down