Re:Flow-Based Programming
by pythonaut_16 on Thursday January 21, 2021 @02:30AM
(#25856452)
Elixir has several tools built around solving this problem; GenStage being the foundation library and Flow and Broadway at a higher level.
On a related note, there's also work on an FBP implementation in Elixir: https://github.com/pcmarks/ElixirFBP
Note that this is why people recommend using GenServer's "call" instead of "cast" in Elixir/Erlang by default - it applies a sort of backpressure because call waits for the process to return a result rather than being fire and forget.
It's not exactly the same thing, or as configurable as Go channels, but it is an option.