gossip v1.0.0 Gossip.Games.Internal View Source

Internal GenServer calls/casts

Link to this section Summary

Functions

Request a single game’s information from Gossip

For tests only - resets the player list state

A response came back from the server

Update the last seen timestamp for a game

Update the local game list after a games/status event comes in

Link to this section Functions

Link to this function fetch_game(game_name) View Source
fetch_game(Gossip.game_name()) ::
  {:ok, Gossip.Games.game()} | {:error, :offline}

Request a single game’s information from Gossip

For tests only - resets the player list state

A response came back from the server

Link to this function touch_game(game_name) View Source
touch_game(Gossip.game_name()) :: :ok

Update the last seen timestamp for a game

Link to this function update_game(game) View Source
update_game(Gossip.Games.game()) :: :ok

Update the local game list after a games/status event comes in