Behaviours: gen_server.
Authors: Igor Kopestenski (igor.kopestenski@uclouvain.be) [web site: https://github.com/Laymer/achlys].
task() = #{name => atom(), targets => task_targets(), function => function()}
task_targets() = [node()] | all
add_task/1 | Adds the given task in the replicated task set. |
start_link/0 | Starts the server. |
add_task(Task::achlys:task()) -> ok
Adds the given task in the replicated task set.
start_link() -> {ok, Pid::pid()} | ignore | {error, Reason::term()}
Starts the server
Generated by EDoc