From c2323450e58e3e91e39824d2309d49567e954eeb Mon Sep 17 00:00:00 2001 From: "Alejandro M. Ramallo" Date: Fri, 13 Dec 2024 08:08:48 +0000 Subject: [PATCH] enhance typespec Signed-off-by: Alejandro M. Ramallo --- src/partisan_plumtree_broadcast_handler.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/partisan_plumtree_broadcast_handler.erl b/src/partisan_plumtree_broadcast_handler.erl index 7e766320..9ae2c870 100644 --- a/src/partisan_plumtree_broadcast_handler.erl +++ b/src/partisan_plumtree_broadcast_handler.erl @@ -44,7 +44,7 @@ %% Return a two-tuple of message id and payload from a given broadcast --callback broadcast_data(any()) -> {any(), any()}. +-callback broadcast_data(any()) -> {MessageId :: any(), Payload :: any()}. %% Return the channel to be used when broadcasting data associate with this