asobi_matchmaker (asobi v0.35.4)
View SourceThe matchmaking queue. Players submit tickets with a mode and property
constraints (add/2); a pluggable strategy groups compatible tickets,
spawns a match, and pushes match.matched to each player. A single
gen_server owns the queue and ticks it on an interval.
Summary
Functions
-spec get_queue_stats() -> {ok, map()}.
-spec handle_call(term(), gen_server:from(), map()) -> {reply, term(), map()}.
-spec init([]) -> {ok, map()}.
-spec start_link() -> gen_server:start_ret().