summaryrefslogtreecommitdiff
path: root/lib/matrix_app_service/adapter/transaction.ex
blob: 9d6abcc3bf6eddcb1a975568d4d79d35def0ad08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
defmodule MatrixAppService.Adapter.Transaction do
  @moduledoc """
  Behaviour for a module that handles transactions involving registered users
  and rooms.
  """

  @doc """
  Called when the application service receives an event.
  """
  @callback new_event(%MatrixAppService.Event{}) :: any()
end