summaryrefslogtreecommitdiff
path: root/lib/pleroma/web/activity_pub/activity_pub/streaming.ex
blob: 30009f2fb8dc0f95d76f1a68b92d3f0d89f2b1f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Pleroma: A lightweight social networking server
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.ActivityPub.ActivityPub.Streaming do
  alias Pleroma.Activity
  alias Pleroma.Object
  alias Pleroma.User

  @callback stream_out(Activity.t()) :: any()
  @callback stream_out_participations(Object.t(), User.t()) :: any()
end