abstract datatype: ctx()
gen_reply_to() = {pid(), reference()}
| add/2 | |
| job_in/2 | |
| job_out/2 | |
| new/0 | |
| rm/2 |
job_in(GenReplyTo::gen_reply_to(), Ctx::ctx()) -> {ok, pid(), ctx()} | {error, no_workers}
job_out(Pid::pid(), Ctx::ctx()) -> {ok, gen_reply_to(), ctx()}
new() -> {ok, ctx()}
rm(Pid::pid(), Ctx::ctx()) -> {ok, queue:queue(gen_reply_to()), ctx()}
Generated by EDoc