It’s only more-readable if you know what it stands for, and it doesn’t stand for very much… ![]()
If you really really really want you actions to be pipelines, there’s then:
socket
|> stream(:posts, Blog.list_posts())
|> then(&{:ok, &1})
It’s only more-readable if you know what it stands for, and it doesn’t stand for very much… ![]()
If you really really really want you actions to be pipelines, there’s then:
socket
|> stream(:posts, Blog.list_posts())
|> then(&{:ok, &1})