1 2 3 4 5 6 7 8 9 10
defmodule MatrixAppService.TestTransactionAdapter do require Logger @behaviour MatrixAppService.Adapter.Transaction @impl MatrixAppService.Adapter.Transaction def new_event(%MatrixAppService.Event{}) do Logger.error("got an event") nil end end