multithreading - How does a single threaded engine such as noflo implement flow based programming? -


paul morrison says here

the core concept of fbp of multiple component processes running asynchronously, communicating means of streams of data chunks run across called bounded buffers.

so, how single threaded implementations such noflojs built on node.js simulate multiple concurrent asynchronous processes? , can same method used in other single threaded languages?

not entirely sure scope of question is.

but can tell node.js based on reactor design pattern.

it possible emulate pattern in single-threaded language implementation, assuming adequate eventing model. means long-running process must delegated to, send event when ready...with reactor brokering exchange.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -