To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGAFNpna5qHmtqaG4-tW%3DY%2B%2BhXJ%2B52PxPUreXiYCW7mCOcHyzA%40mail.gmail.com.
One nitpick. Merge arg and state in the return in init. Having them separate is confusing. Delayed init takes one parameter and returns a new state. What happens to the originally returned state?
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CA%2BibZ99h84%2BA83V2jv2VWH5xFHLqAdmPfCgFQKSx7voh%2BKFJDA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAOMhEnzR_atxA_y2TCQu_W3ZrWjkhbO_RLn-%2BJ4Y2Z%3DAT1y2Sw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGAFNpkburfxg7b6i6UUL35ZCF4X3xL5ZC%2BoC2HH5apOSo6Zcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
> There are couple solutions to this problem. One is sending itself a
message from init/1, which is error prone, because we have no
guarantees that this will be the first message received by the
process.What are the instances when a message can arrive before one sent from init/1?
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAM_eapgTK3ke5%3D9OJ61dDhU25tQ%2BWy7WFzj%3DHRsk-0%3D_LmAGEA%40mail.gmail.com.
Michał.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGAFNpkburfxg7b6i6UUL35ZCF4X3xL5ZC%2BoC2HH5apOSo6Zcw%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-core" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-core/fLdVQDZcFo0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGAFNpnuiXOLP%2BuhUWGzm5XaDFYo35Lpz4NZdbNurtV4druvVQ%40mail.gmail.com.