Skip to content

Commit 0d1a24f

Browse files
authored
Fixed a couple of typos.
1 parent e230862 commit 0d1a24f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ The owner of a `Signal` has unilateral control of the event stream. Observers ma
2424
It is like a live TV feed — you can observe and react to the content, but you cannot have a side effect on the live feed or the TV station.
2525

2626
```swift
27-
let channel: Signal<Programme, NoError> = tvStation.channelOne
28-
channel.observeValues { programme in ... }
27+
let channel: Signal<Program, NoError> = tvStation.channelOne
28+
channel.observeValues { program in ... }
2929
```
3030

3131
#### `Event`: the basic transfer unit of an event stream.
3232
A `Signal` may have any arbitrary number of events carrying a value, following by an eventual terminal event of a specific reason.
3333

3434
It is like a frame in a one-time live feed — seas of data frames carry the visual and audio data, but the feed would eventually be terminated with a special frame to indicate "end of stream".
3535

36-
#### `SignalProducer`: deferred work that creates a stream of value.
36+
#### `SignalProducer`: deferred work that creates a stream of values.
3737
`SignalProducer` defers work — of which the output is represented as a stream of value — until it is started. For every invocation to start the `SignalProducer`, a new `Signal` is created and the deferred work is subsequently invoked.
3838

3939
It is like a on-demand streaming service — even though the episode is streamed like a live TV feed, you can choose what you watch, when to start watching and when to interrupt it.

0 commit comments

Comments
 (0)