| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -86,7 +86,8 @@ SignalT<int> area = MakeSignal( | |||
| 86 | 86 | }); | |
| 87 | 87 | ``` | |
| 88 | 88 | ``` | |
| 89 | - // Signal values can be accessed imperativly at any time, but only VarSignals can be directly manipulated. | ||
| 89 | + // Signal values can be accessed imperativly at any time, | ||
| 90 | + // but only VarSignals can be directly manipulated. | ||
| 90 | 91 | cout << "area: " << area.Value() << endl; // => area: 2 | |
| 91 | 92 | ||
| 92 | 93 | // Width changed, so area is re-calculated automatically | |
@@ -103,6 +104,8 @@ SignalT<int> area = width * height; | |||
| 103 | 104 | ||
| 104 | 105 | ## Events and Observers | |
| 105 | 106 | ||
| 107 | + Event streams represent flows of discrete values. They are first-class objects and can be merged, filtered, transformed or composed to more complex types: | ||
| 108 | + | ||
| 106 | 109 | ```C++ | |
| 107 | 110 | using namespace std; | |
| 108 | 111 | using namespace react; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments