BattleCity.Callback behaviour (battle_city v0.1.2) 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
Specs
handle_callback(action(), non_nil_object_struct(), BattleCity.Context.t()) :: BattleCity.Context.t()