# Concurrent Data Processing in Elixir typo (31- 32):

**URL:** <https://forum.devtalk.com/t/concurrent-data-processing-in-elixir-typo-31-32/7065>\
**Category:** PragProg Customers\
**Tags:** book-concurrent-data-processing-in-elixir, errata\
**Created:** [16 February 2021 01:20 UTC](https://forum.devtalk.com/t/concurrent-data-processing-in-elixir-typo-31-32/7065 "2021-02-16T01:20:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattjg908](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@mattjg908](https://forum.devtalk.com/u/mattjg908)\
**Post date:** [16 February 2021 01:20 UTC](https://forum.devtalk.com/t/concurrent-data-processing-in-elixir-typo-31-32/7065/1 "2021-02-16T01:20:04Z")

</div>

Title: Concurrent Data Processing in Elixir: typo (31-32)

**I believe (page 31-32):**  
def handle\_cast({:send, email}, state) do  
.  
.  
{:noreply, state}  
end

**should be:**  
def handle\_cast({:send, email}, state) do  
.  
.  
{:noreply, %{state | emails: emails}}  
end

otherwise the state is never updated. Very much enjoying the book btw!

---

<div class="post-metadata">

**Author:** ![svilen](https://forum.devtalk.com/user_avatar/forum.devtalk.com/svilen/32/529_2.png) [@svilen](https://forum.devtalk.com/u/svilen)\
**Post date:** [16 February 2021 22:16 UTC](https://forum.devtalk.com/t/concurrent-data-processing-in-elixir-typo-31-32/7065/2 "2021-02-16T22:16:25Z")

</div>

Glad to hear you’re enjoying the book Matt, and thanks for buying it!

Also thank you for reporting this. It will be fixed for the next beta version 👍
