The reason is that it writes "a Callback<IN> is returned".
|
### send\_message\_batch |
|
|
|
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. |
send_message_batch does not return
Callback<IN> , but
batch_callback return
Callback<IN>.
If it's correct, I create a pull request.
The reason is that it writes "a
Callback<IN>is returned".docs/src/concepts/components/callbacks.md
Lines 23 to 27 in 2bdbafc
send_message_batch does not return
Callback<IN>, but batch_callback returnCallback<IN>.If it's correct, I create a pull request.