View Source Buzzword.Bingo.LiveWeb.GamePresence (Buzzword Bingo Live v0.1.20)

Summary

Types

@type player() :: %{name: Buzzword.Bingo.Player.name(), meta: map()}

Functions

Link to this function

assign_players(socket, diff)

View Source
@spec list(Phoenix.Presence.topic()) :: [player()]
Link to this function

update(topic, name, scores)

View Source
@spec update(
  Phoenix.Presence.topic(),
  Buzzword.Bingo.Player.name(),
  Buzzword.Bingo.Summary.scores()
) ::
  {:ok, ref :: binary()} | {:error, reason :: term()}