Behaviours: gen_server
.
element() = any()
in/2 | |
out/1 | |
out/2 | |
start_link/0 |
in(Pid::pid(), Element::element()) -> ok
out(Pid::pid()) -> {ok, element()} | {error, timeout}
out(Pid, Timeout) -> {ok, element()} | {error, timeout}
Pid = pid()
Timeout = timeout()
start_link() -> any()