Skip to content

RuanMoreiraOfc/15th-challenge-ignite-elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

15th Challenge Elixir

This repo includes the resolution for 15th Challenge in Elixir Journey with Rafael Camarda.

GOAL

{:ok, pid} = Queuex.Queue.start_link([1])

Queuex.Queue.enqueue(pid, 2)
# output: :ok

Queuex.Queue.dequeue(pid)
# output: 1

Queuex.Queue.dequeue(pid)
# output: 2

Queuex.Queue.dequeue(pid)
# output: nil