akkoma/lib/pleroma/web/activity_pub/activity_pub/streaming.ex
Alex Gleason a744c47e9a
Remove deps from Streaming/Persisting behaviors
Speeds up recompilation by limiting compile-time deps
2021-06-01 13:55:07 -05:00

8 lines
331 B
Elixir

# Pleroma: A lightweight social networking server
# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.ActivityPub.Streaming do
@callback stream_out(struct()) :: any()
@callback stream_out_participations(struct(), struct()) :: any()
end