Blackheath "Functional reactive programming", 2.6.3 section clarification

Section

talks about the merge operation in processing FRP streams ( Sodium Library ). The book shows the flow pooling scheme below and says that when an event enters FRP logic through a stream, it causes a cascade of state changes that occur in a transactional context, so all changes are atomic.

jwCXn.jpg

Event streams - sDeselect, sSelect(see 2 events: "+" and "-") come from user interface controls, since they occur within the same FRP transaction, their transferred events are considered simultaneous. Then the book says

merge , , . : , ; .

: , " "? ? , , -? ?

+4
1

, , - FRP, , , B A, B- , A. ( , .) , .

, , , , .

+3

Source: https://habr.com/ru/post/1651154/


All Articles