BattleCity.Callback behaviour (battle_city v0.1.3) View Source

Callback

Link to this section Summary

Link to this section Types

Specs

t() :: %BattleCity.Callback{action: action(), value: value()}

Link to this section Functions

Specs

handle(t(), non_nil_object_struct(), BattleCity.Context.t()) ::
  BattleCity.Context.t() | BattleCity.Context.callback_fn()

Link to this section Callbacks

Link to this callback

handle_callback(action, non_nil_object_struct, arg3)

View Source

Specs

handle_callback(action(), non_nil_object_struct(), BattleCity.Context.t()) ::
  BattleCity.Context.t()