Flow is an utility/ design pattern that help developers to write simple and readable code. There are two main concerns: Flow of operations and Flow of data
By using Flow, we should able to achieve the followings:
- Logics / operations can be reused easily
- The logic flows are readable by anyone (including the code reviewers)
- Each line of code is meaningfully and avoid ambiguous keywords
- No more callback hell for complicated async operations
- Debuggable both at development and production stage
