Module hayata_reducer

Behaviours: gen_server.

Data Types

config()

config() = #{node_pid := pid(), execution_id := execution_id(), expected_edges := [edge_id()], timeout_ms := non_neg_integer(), results => map(), errors => map()}

edge_id()

edge_id() = term()

execution_id()

execution_id() = term()

Function Index

activate/1
code_change/3
handle_call/3
handle_cast/2
handle_info/2
init/1
start/1
terminate/2

Function Details

activate/1

activate(Reducer::gen_server:server_ref()) -> ok

code_change/3

code_change(OldVersion::term(), Reducer_state::#reducer_state{}, Extra::term()) -> {ok, #reducer_state{}}

handle_call/3

handle_call(Request::term(), From::gen_server:from(), Reducer_state::#reducer_state{}) -> {reply, {error, unsupported_request}, #reducer_state{}}

handle_cast/2

handle_cast(Request::term(), Reducer_state::#reducer_state{}) -> {noreply, #reducer_state{}}

handle_info/2

handle_info(Info::term(), Reducer_state::#reducer_state{}) -> {noreply, #reducer_state{}} | {stop, normal, #reducer_state{}}

init/1

init(Config::config()) -> {ok, #reducer_state{}, {continue, evaluate}} | {stop, term()}

start/1

start(Config::config()) -> gen_server:start_ret()

terminate/2

terminate(Reason::term(), Reducer_state::#reducer_state{}) -> ok


Generated by EDoc