Module achlys_task_server

.

Behaviours: gen_server.

Authors: Igor Kopestenski (igor.kopestenski@uclouvain.be) [web site: https://github.com/Laymer/achlys].

Description

Data Types

task()

task() = #{name => atom(), targets => task_targets(), function => function()}

task_targets()

task_targets() = [node()] | all

Function Index

add_task/1Adds the given task in the replicated task set.
start_link/0 Starts the server.

Function Details

add_task/1

add_task(Task::achlys:task()) -> ok

Adds the given task in the replicated task set.

start_link/0

start_link() -> {ok, Pid::pid()} | ignore | {error, Reason::term()}

Starts the server


Generated by EDoc