From c5a01b10bd79e63145211faac27f002b8a97df0d Mon Sep 17 00:00:00 2001 From: destel Date: Thu, 21 Mar 2024 02:13:55 +0200 Subject: [PATCH] Doc --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 172f6d1..65dd0a5 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,12 @@ to specify a timeout, after which the batch is emitted even if it's not full. Th when input stream is slow or sparse. +## Fan-In and Fan-Out +Library provides a simple way to fan-in and fan-out data streams. Fan-in is done with the **Merge** function, +which consolidates multiple data streams into a single unified channel. +Fan-out is done with the **Split2** function, that divides a single input stream into two distinct output channels. +This division is based on a discriminator function, allowing parallel processing paths based on data characteristics. + ## Error handling