Skip to content

Commit ed8ab0b

Browse files
committed
Edit Combine Pt.1
1 parent 1f0670a commit ed8ab0b

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

Lessons/Combine-Pt.1/README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ let _ = Just(8)
120120

121121
<aside class="notes">
122122
The pipeline starts with the publisher Just, which responds with the value that its defined with (in this case, the Integer 8). The output type is <Integer>, and the failure type is <Never>.
123-
The pipeline then has a map operator, which is transforming the value and its type. In this example it is ignoring the published input and returning a string. This is also transforming the output type to <String>, and leaving the failure type still set as <Never>.
123+
124+
The pipeline then has a map operator, which is transforming the value and its type. In this example it is ignoring the published input and returning a string.
125+
126+
This is also transforming the output type to <String>, and leaving the failure type still set as <Never>.
124127
The pipeline then ends with a sink subscriber.
125128
</aside>
126129

@@ -140,15 +143,21 @@ Focus on describing how a specific pipeline changes the stream of data.
140143
<img src="https://heckj.github.io/swiftui-notes/images/diagrams/marble_diagram.svg">
141144

142145
<aside class="notes">
143-
A publisher is generating and sending data, operators are reacting to that data and potentially changing it, and subscribers requesting and accepting it. On top of that, some operators may change the timing when events happen. We can illustrate these changes with a visual description called a marble diagram.
146+
A publisher is generating and sending data, operators are reacting to that data and potentially changing it, and subscribers requesting and accepting it.
147+
148+
On top of that, some operators may change the timing when events happen. We can illustrate these changes with a visual description called a marble diagram.
144149
</aside>
145150

146151
<!-- > -->
147152

148153
## In Class Activity
149154

150-
Instructions [here]()
155+
**5 min read, 10 min share**
156+
157+
Visit [this website](https://rxmarbles.com) that has marble diagrams for some operators in Rx.
151158

159+
- Choose one operator and understand what it does
160+
- Be ready to share your explanation in class
152161

153162
<!-- > -->
154163

0 commit comments

Comments
 (0)