Created
March 9, 2019 00:06
-
-
Save aharpole/88413b313df23f03af7f25886e58f66b to your computer and use it in GitHub Desktop.
new handle call
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def handle_call(:get_data, _, %{value: value} = state) do | |
{:reply, value, state} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment