Sphynx.Clash (Sphynx v0.1.0) View Source
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Returns identity of clash by his pid
Link to this section Types
Specs
t() :: %Sphynx.Clash{ current_riddle: Sphynx.Riddle.t(), identity: Atom.t(), parent: Atom.t() }
Link to this section Functions
Specs
check_answer(Atom.t(), Any.t()) :: Any.t()
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
identity(pid()) :: Atom.t()
Returns identity of clash by his pid
Specs
lookup(Atom.t()) :: t()
Specs
make_riddle(Atom.t(), Any.t()) :: :ok
Specs
process(Atom.t(), Any.t()) :: Any.t()