docs icon indicating copy to clipboard operation
docs copied to clipboard

I think it's batch_callback, not send_message_batch.

Open hituzi-no-sippo opened this issue 4 years ago • 1 comments

The reason is that it writes "a Callback<IN> is returned". https://github.com/yewstack/docs/blob/2bdbafcd7edb07c241d64ca13bab4aa042a7eb85/src/concepts/components/callbacks.md#L23-L27 send_message_batch does not return Callback<IN> , but batch_callback return Callback<IN>.

If it's correct, I create a pull request.

hituzi-no-sippo avatar Jul 02 '20 23:07 hituzi-no-sippo

@hituzi-no-sippo yes, good catch. It should be batch_callback 👍

jstarry avatar Jul 05 '20 15:07 jstarry