Markov.ModelServer (markov v4.1.3)

GenServer in charge of one model

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Link to this section Types

Link to this type

start_options()

@type start_options() :: [path: String.t(), create_opts: [Markov.model_option()]]

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec init(options :: start_options()) ::
  {:ok, Markov.ModelServer.State.t()} | {:stop, term()}

Callback implementation for GenServer.init/1.

Link to this function

log_entry_mapping()

Link to this function

rev_log_entry_map()

@spec start(options :: start_options()) :: DynamicSupervisor.on_start_child()
Link to this function

start_link(options)

@spec start_link(options :: start_options()) :: GenServer.on_start()