Concurrent Data Processing in Elixir: Chapter 2 Errata: GenServer.cast does not acknowledge (32)

Hello Svilen Gospodinov @svilen,
The book currently states:
When using GenServer.cast/2, we
always get :ok as a reply. In fact, the reply comes almost immediately. This
simply means that the GenServer process has acknowledged the message, while
the actual work is being performed by the process.
But the docs for GenServer.cast/2
state:
This function always returns :ok regardless of whether the destination server (or node) exists. Therefore it is unknown whether the destination server successfully handled the message.
So it is incorrect to state that the “GenServer process has acknowledged the message” when GenServer.cast/2
returns, because the process may already be dead or may not even have existed in the first place.
By the way I’m very much enjoying the book so far!
Popular Prag Prog topics









Modern Front-End Development for Rails - application does not start after run bin/setup (page xviii)

Other popular topics









Latest in PragProg
Latest (all)
Categories:
My Saved Portals
-
None saved yet
Popular Portals
- /elixir
- /opensuse
- /rust
- /kotlin
- /ruby
- /erlang
- /python
- /clojure
- /react
- /quarkus
- /go
- /vapor
- /v
- /react-native
- /wasm
- /security
- /django
- /nodejs
- /centos
- /haskell
- /rails
- /fable
- /gleam
- /swift
- /js
- /deno
- /assemblyscript
- /tailwind
- /laravel
- /symfony
- /phoenix
- /crystal
- /typescript
- /debian
- /adonisjs
- /julia
- /arch-linux
- /svelte
- /spring
- /preact
- /flutter
- /c-plus-plus
- /actix
- /java
- /angular
- /ocaml
- /zig
- /kubuntu
- /scala
- /zotonic
- /vim
- /rocky
- /lisp
- /html
- /keyboards
- /vuejs
- /nim
- /emacs
- /nerves
- /elm