Skip to content

Commit

Permalink
Improve GenServer definition to state that it's single process (#1458)
Browse files Browse the repository at this point in the history
  • Loading branch information
brain-geek authored and doomspork committed May 31, 2018
1 parent c3a65c9 commit fdbe865
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en/lessons/advanced/otp-concurrency.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.0.2
version: 1.0.3
title: OTP Concurrency
redirect_from:
- /lessons/advanced/otp-concurrency/
Expand All @@ -13,7 +13,7 @@ In this lesson we'll focus on the biggest piece: GenServers.

## GenServer

An OTP server is a module with the GenServer behavior that implements a set of callbacks. At its most basic level a GenServer is a loop that handles one request per iteration passing along an updated state.
An OTP server is a module with the GenServer behavior that implements a set of callbacks. At its most basic level a GenServer is a single process which runs loop that handles one message per iteration passing along an updated state.

To demonstrate the GenServer API we'll implement a basic queue to store and retrieve values.

Expand Down

0 comments on commit fdbe865

Please sign in to comment.