trustmaster / goflow

Flow-based and dataflow programming library for Go (golang)
MIT License
1.61k stars 125 forks source link

Active (classical) FBP components #26

Closed trustmaster closed 9 years ago

trustmaster commented 9 years ago

Currently GoFlow components are reactive: we program them as reactions to data arriving at inports.

In classical FBP, a component's process is sitting in its own thread receiving data on its inports and sending output in a loop.

Implementing active components in GoFlow is relatively easy but requires some changes to the library: