summaryrefslogtreecommitdiff
path: root/lib/matrix_app_service/adapter/transaction.ex
blob: 22a2fe4855244d4f0af3790bef81d5d5d5b1027f (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.t()) :: any()
end