View Source amoc_user (amoc v3.0.0-rc1)

Link to this section Summary

Link to this section Types

-type state() :: term().

Link to this section Functions

Link to this function

init(Parent, Scenario, Id, State)

View Source
-spec init(pid(), amoc:scenario(), amoc_scenario:user_id(), state()) -> no_return().
Link to this function

start_link(Scenario, Id, State)

View Source
-spec start_link(amoc:scenario(), amoc_scenario:user_id(), state()) -> {ok, pid()}.
-spec stop() -> no_return().
-spec stop(pid(), boolean()) -> no_return() | ok | {error, any()}.