cluster.bif: Improve Cluster::publish() docstring

This commit is contained in:
Arne Welzel 2025-07-22 15:13:26 +02:00
parent c8307487d1
commit 55ecd90928

View file

@ -25,7 +25,10 @@ type Cluster::WebSocketTLSOptions: record;
## :zeek:see:`Cluster::make_event` or the argument list to pass along ## :zeek:see:`Cluster::make_event` or the argument list to pass along
## to it. ## to it.
## ##
## Returns: true if the message is sent. ## Returns: T if the event was accepted for sending. Depending on
## the selected cluster backend, an event may be dropped
## when a Zeek cluster is overloadede. This can happen on
## the sending or receiving node.
function Cluster::publish%(topic: string, ...%): bool function Cluster::publish%(topic: string, ...%): bool
%{ %{
ScriptLocationScope scope{frame}; ScriptLocationScope scope{frame};