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
-spec init(pid(), amoc:scenario(), amoc_scenario:user_id(), state()) -> no_return().
-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()}.