Module achlys_task_worker

.

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(), execution_type => task_execution_type(), function => function()}

task_execution_type()

task_execution_type() = bitstring()

task_targets()

task_targets() = [node()] | bitstring()

Function Index

start_link/0 Starts the server.
start_task/1Attempt to execute a given function if found in the task set.

Function Details

start_link/0

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

Starts the server

start_task/1

start_task(TaskName::atom()) -> ok

Attempt to execute a given function if found in the task set.


Generated by EDoc