Skip to content

Commit d038dfa

Browse files
committed
Fixed README typos
1 parent 85ed6c1 commit d038dfa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The threads will block until the other has finished because they are sharing `lo
2727

2828
`Atomic` is a class and therefore instances would normally be declared using `let` (which can seem odd since they obviously mutate!).
2929

30-
See `Concurreny_UtilitiesTests.swift` for examples.
30+
See `AtomicTests.swift` for examples.
3131

3232
## Futures
3333
A future allows control and monitoring of a background task that returns a value (though the value may be a `Void`, i.e. `()`). You obtain the value of a future using `get` (which will timeout), you cancel a future with `cancel`, and you can find out their status using `status` (which is primarily for debugging and is one of `.running`, `.completed(result: T)`, or `.thew(error: Error)`).
@@ -69,7 +69,7 @@ A future may be a continually running background task and therefore have no valu
6969

7070
Futures are classes and therefore instances would normally be declared using `let` (which might seem odd because they mutate) and they are also thread safe and therefore can be shared between threads.
7171

72-
See `Concurreny_UtilitiesTests.swift` for examples.
72+
See `FutureTests.swift` for examples.
7373

7474
## Reactive Streams
7575
Reactive Steams are a standardised way to transfer items between asynchronous tasks; they are widley supported in many languages and frameworks and therefore both general and detailed descriptions are available:
@@ -121,6 +121,8 @@ Hello World using this library is:
121121

122122
Note how the arguments to `ForEachProducer` and `ReduceSubscriber` mimic those to similarly named methods in Swifts `Sequence` protocol, how `~>` is evoccotive of the process that is occuring, and how future's `get` controls execution and error reporting.
123123

124+
See `ReativeStreamTests.swift` for examples.
125+
124126
## Copyright and License
125127
Copyright © 2017 Howard Lovatt. Creative Commons Attribution 4.0 International License.
126128

0 commit comments

Comments
 (0)