genstage_tutorial
genstage_tutorial copied to clipboard
foobar
whatever PR content blah
< payload = {module, function, args} |> construct_payload
---
> bobload = {module, function, args} |> construct_payload
18a19
> # what if I did something else
23c24
< serve_jobs(state)
---
> do_dat_work_friend(state)
27c28
< serve_jobs(demand + state)
---
> do_dat_work_friend(demand + state)
31,32c32,33
< {count, events} = GenstageExample.Task.take(state)
< {:noreply, events, state - count}
---
> {count, happenings} = GenstageExample.Task.take(state)
> {:noreply, happenings, state - count}
35,36c36,37
< def serve_jobs limit do
< {count, events} = GenstageExample.Task.take(limit)
---
> def do_dat_work_friend limit do
> {count, happenings} = GenstageExample.Task.take(limit)
38c39
< {:noreply, events, limit - count}
---
> {:noreply, happenings, limit - count}