Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into alexgleason/pleroma...
[akkoma] / lib / pleroma / web / activity_pub / activity_pub / streaming.ex
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 defmodule Pleroma.Web.ActivityPub.ActivityPub.Streaming do
6 alias Pleroma.Activity
7 alias Pleroma.Object
8 alias Pleroma.User
9
10 @callback stream_out(Activity.t()) :: any()
11 @callback stream_out_participations(Object.t(), User.t()) :: any()
12 end