feat(ircv3): add simple internal batch processing #3

Open
rlahfa wants to merge 1 commit from batch-processing into develop

1 commit

Author SHA1 Message Date
Raito Bezarius
f05124d6db feat(ircv3): add simple internal batch processing
Some checks failed
CI / rustfmt (pull_request) Failing after 23s
CI / test (pull_request) Failing after 1m0s
The BATCH feature is a form of a server-suggested message processing
delays.

To implement this, we can record all inflight batches, handle start/end
in handle_batch and collect all pending messages in the entrypoint of
the message handler as long as they have a correct batch id.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-10-14 11:19:43 +02:00