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

I think it's batch_callback, not send_message_batch. #113

@hituzi-no-sippo

Description

@hituzi-no-sippo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions