Hacker News new | past | comments | ask | show | jobs | submit login

Don't see how this has anything to do with anything. For example, the "flux" pattern is similar to model/view which can be done by a single thread (ie, Qt). In this scheme the main thread services events sequentially, calling the necessarily object's methods on the same thread.

The discussion is about the 'dream' of pushing a button from a worker thread.




I thought than in flux, the worker thread could send "push button" message to the dispatcher and it will deal with it asynchronously. Likewise, the updates to the views are asynchronous (and can be potentially multi-threaded) to the actions that are coming into the dispatcher queue.


The thing is that the entity that pushes a button is a human, not a worker thread.


It is very common to have async http requests that "push button" to to say when they resolve.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: