Module sheldon_suggestions_server

Behaviours: gen_server.

Function Index

add_suggestions/2
handle_call/3
handle_cast/2
handle_info/2
init/1
suggestions/2

Function Details

add_suggestions/2

add_suggestions(MisspelledWord::sheldon_result:misspelled_word(), Lang::sheldon_dictionary:language()) -> sheldon_result:misspelled_word()

handle_call/3

handle_call(X1::term(), From::term(), State::#{}) -> {reply, ok, #{}}

handle_cast/2

handle_cast(Msg::term(), State::#{}) -> {noreply, #{}}

handle_info/2

handle_info(Info::term(), State::#{}) -> {noreply, #{}}

init/1

init(X1::no_args) -> {ok, #{}}

suggestions/2

suggestions(MisspelledWords::[sheldon_result:misspelled_word()], Lang::sheldon_dictionary:language()) -> [sheldon_result:misspelled_word()]


Generated by EDoc, Apr 12 2017, 15:07:08.