View Source amoc_user (amoc v3.0.0-rc2)
Summary
Types
-type state() :: term().
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()}.