The method that inspects a flow and leaves it untouched (unless there is a technical failure during the inspection) is currently called peek. That name caused some initial confusion with users and so maybe tee is better since it should be more universally familiar. There might be other names too which fit the readability and understanding requirements better that I haven't thought of yet.
The method that inspects a flow and leaves it untouched (unless there is a technical failure during the inspection) is currently called
peek. That name caused some initial confusion with users and so maybeteeis better since it should be more universally familiar. There might be other names too which fit the readability and understanding requirements better that I haven't thought of yet.