-
-
Save adrianparvino/bbf7481d719fd66ef2d2e4aa57a362f0 to your computer and use it in GitHub Desktop.
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
iex([email protected])14> x = self(); Node.spawn_link(:"[email protected]", fn -> send x, TermuxSmsCli.Fetcher.start_link([]) end); {:ok, pid} = receive do x -> x end | |
{:ok, #PID<16052.226.0>} | |
iex([email protected])15> TermuxSmsCli.Fetcher.fetch(pid, 1) | |
[ | |
%{ | |
"body" => "You have up to 1GB of VIDEO EVERY DAY with your GIGA subscription. To check your balance and other exciting offers, dial *121# NOW! It's FREE and easy!", | |
"number" => "SMART", | |
"read" => true, | |
"received" => "2019-06-09 01:38", | |
"threadid" => 1, | |
"type" => "inbox" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment