# Errata for Combine: Asynchronous Programming with Swift 3rd Edition

**URL:** <https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-3rd-edition/148939>\
**Category:** Combine: Asynchronous Programming with Swift\
**Created:** [September 29, 2021, 1:28am UTC](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-3rd-edition/148939 "2021-09-29T01:28:03Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![marcadam](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/marcadam/32/102075_2.png) [@marcadam](https://forums.kodeco.com/u/marcadam)\
**Post date:** [June 20, 2022, 5:59pm UTC](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-3rd-edition/148939/22 "2022-06-20T17:59:19Z")

</div>

In chapter 3, **Dropping values**. I think the description is incorrect for `drop(while:)`.

> … until the _first time_ that predicate is met

should be:

> … until the _first time_ that predicate is **not** met

or

> … until the _first time_ that predicate **returns false**

The same for just below:

> As soon as the condition is met, values will start flowing…

> As soon as the condition is **not** met, values will start flowing

or

> As soon as the condition **returns false** , values will start flowing

From the Apple docs:

> drop(while:)
> 
> Omits elements from the upstream publisher until a given closure returns false, before republishing all remaining elements.

---

<div class="post-metadata">

**Author:** ![rsullivan](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/rsullivan/32/107465_2.png) [@rsullivan](https://forums.kodeco.com/u/rsullivan)\
**Post date:** [December 19, 2022, 5:06pm UTC](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-3rd-edition/148939/23 "2022-12-19T17:06:07Z")

</div>

Chapter 2, `example(of: "Future")` is not working correctly. Using Playgrounds version 4.2.1 (1726.28). I took the final playground, uncommented the code, left everything else unchanged. It still only shows:

```auto
——— Example of: Future ———
Original

```

---

<div class="post-metadata">

**Author:** ![jellodiil](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jellodiil/32/109742_2.png) [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Post date:** [July 19, 2023, 12:07am UTC](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-3rd-edition/148939/24 "2023-07-19T00:07:10Z")

</div>

Unpinned on July 19, 2023, 12:07am UTC



---

<div class="post-metadata">

**Author:** ![jellodiil](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jellodiil/32/109742_2.png) [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Post date:** [July 19, 2023, 12:07am UTC](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-3rd-edition/148939/25 "2023-07-19T00:07:13Z")

</div>

Closed on July 19, 2023, 12:07am UTC



[Previous page](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-3rd-edition/148939.md?page=1)
