Split a flux into two fluxes - head and tail
问题 I want to split a flux into two fluxes where the first one has the first item of the original flux and the second one will takes the rest of items. After applying a custom transformation myLogic on each flux I want to combine them into one flux preserving the order of the original flux. Example: S: student S': student after applying myLogic Emitted flux: s1 -> s2 -> s3 -> s4 The first splited flux: s1' => myLogic The second splited flux: s2' -> s3' -> s4' => myLogic The combined flux: s1' ->