Please log in to watch this conference skillscast.
Question: It looks like OTP is based on callbacks, is it possible to use functions like observable streams?
Answer : OTP itself is callback-based, yes, but things built on top of it are known to use observable streams. One that comes to mind is Flow which is a bit like Flink but for small data. https://hexdocs.pm/flow/Flow.html
Question: Elm (only) supports a similar architecture and has the “time travelling debugger”. How do you go about debugging applications written in this style in Elixir/Phoenix? Is there a similar tool available?
Answer: Yes, Elm has a very similar architecture. There are lots of debugging choices, and more are showing up all the time. But no, nothing like Elm’s time traveling debugger, though nothing prevents it from existing because it’s really about the state in the socket.
YOU MAY ALSO LIKE:
Phoenix LiveView: Building Scalable Web Single Page Apps Doesn't Have to Hurt