Intro to GenServer

  Рет қаралды 14,480

Elixir Casts

Elixir Casts

Күн бұрын

Пікірлер: 13
@zfarahx
@zfarahx 3 ай бұрын
How dare you be so succinct and understandable?!
@Abbild1
@Abbild1 5 жыл бұрын
This was by far the most understandable introduction to genservers I ever seen 👏
@jakmartin009
@jakmartin009 6 жыл бұрын
This is one of best video in simple language and example. Thanks
@delamberty
@delamberty Жыл бұрын
This explained to me more of gen server than I've been reading
@muha8598
@muha8598 2 жыл бұрын
Wow, this simplified GenServer for me. Thanks!
@smvhdi
@smvhdi 5 жыл бұрын
I had problem understanding the genServer in elixir GUIDES. This video make it simple for me
@danielsantiago11
@danielsantiago11 4 жыл бұрын
Amazing content, thx so much
@unamed6136
@unamed6136 4 жыл бұрын
i dont get the handle_call function at 04:42 ,where he is gettint list and list and returning it?
@elixircasts2332
@elixircasts2332 4 жыл бұрын
The list here is just the state of the GenServer. When implementing a handle_call, you'll receive the current state as the 3rd argument. It's being returned with the :reply tuple on line 24.
@kawo666
@kawo666 6 ай бұрын
It is my understanding that the init/start of the server creates a loop that awaits for the incoming calls. That loop holds ‘state’. The call function does not directly initiate/call the handle_call function, that’s why function arguments do not map one to one. It rather triggers its processing within the loop, which needs the ‘state’ argument in this case in the form of ‘list’.
@EduardoMartinez-dm5pp
@EduardoMartinez-dm5pp 7 жыл бұрын
OH MY GOD This is just amazing! you make it so simple and easy to follow! I now want to make 2 different programs running at the same time, one being the client and the other the server. Do you have any example like that?
@elixircasts2332
@elixircasts2332 7 жыл бұрын
Thank you for the kind words. I don't have any currently, but I love that idea and will put it my list. Thanks Eduardo!
@BelgianNoise
@BelgianNoise 5 жыл бұрын
didnt enjoy, usefull tho
Intro to OTP in Elixir
31:01
Full Stack Talks
Рет қаралды 33 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Learn Elixir: OTP, GenServers, Agents, & Tasks
13:05
Learn Elixir
Рет қаралды 8 М.
Mark Ericksen - Mental model for understanding Elixir GenServers
45:56
Alex Kovshovik
Рет қаралды 2,5 М.
From $erverless To Elixir | Prime Reacts
22:34
ThePrimeTime
Рет қаралды 122 М.
Elixir Application (part 1)
21:17
omgneering
Рет қаралды 15 М.
OTP in Elixir - Introduction
42:18
Christian Di Lorenzo
Рет қаралды 19 М.
Intro to GenServer | Elixir | W3Codify
7:59
W3Codify
Рет қаралды 491
How to write an Elixir Gen Server
5:38
Elixir Drops
Рет қаралды 4,1 М.
Elixir Agents
6:26
Elixir Casts
Рет қаралды 3,5 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН