Now, assume you want to examine the flash assign we’ve just set up. In order to avoid inspecting all of conn (which can be quite large), we have to

2 Helpers to Keep Your Pipelines Flowing! 😎

submited by
Style Pass
2024-04-16 11:00:04

Now, assume you want to examine the flash assign we’ve just set up. In order to avoid inspecting all of conn (which can be quite large), we have to break the pipeline:

then is just another step of the pipeline that takes a function where the first argument will be the previous return value (in our case conn).

tap passes the value (conn) into a function and then returns the value (conn) that was passed into the function. Excellent for code with side effects!

Leave a Comment