サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
Wikipedia
undiscoveredfeatures.com
Elixir has introduced a wonderful first class concept called a Task. It allows you to do some work in a new process and easily collect the result, like so: iex(1)> something = Task.async fn -> ...(1)> 10 + 6 ...(1)> end %Task{pid: #PID<0.44.0>, ref: #Reference<0.0.0.55>} iex(2)> Task.await(something) 16 On first glance, it looks a lot like constructs found in other languages. For example, Scala ha
このページを最初にブックマークしてみませんか?
『undiscoveredfeatures.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く