Commit Graph

5 Commits

Author SHA1 Message Date
zelig
67528cf970 ethreact/README.md 2014-07-21 15:10:56 +01:00
zelig
dc11b5c55e fix reactor channel blocking 2014-07-14 18:40:18 +01:00
zelig
4d77b7face remove extra case in main loop 2014-07-07 12:30:25 +01:00
zelig
5a2afc5754 fix reactor engine main loop blocked to wait if drained 2014-07-05 19:56:01 +01:00
zelig
0c6f1c9c3a ethreact
- consistent renaming
- React -> Event
- ReactorEvent -> EventHandler
- NewReactorEngine -> New
- async ReactorEngine main loop with select on main eventChannel and quit channel
- ReactorEngine main loop control with Start() Stop() Flush()
- ReactorEngine.dispatch
- use sync.RWMutex
- delete eventHandler if subscribed channels go to 0
2014-07-04 19:38:53 +01:00