
9: Decomposing models with Maciej Kaszubowski
Thinking Elixir Podcast
00:00
Using PubSub in a Single Phoenix Application
I love the term you used where you said you're using events and PubSub as a way to invert the flow of an application. And I was wondering if you could maybe explain that a little bit more. The thing about events is that they are often associated with something that is handled asynchronously, but it doesn't have to be a case. Even with such a synchronous process, you can achieve a lot. For example, how to ensure that each event is actually executed and handled. How to ensure that the ordering of events is maintained.
Transcript
Play full episode