FMessageEndpoint::Publish

Publishes a message to all subscribed recipients within the specified scope after a given delay.

Windows
MacOS
Linux

References

Module

MessagingCommon

Header

/Engine/Source/Runtime/MessagingCommon/Public/MessageEndpoint.h

Include

#include "MessageEndpoint.h"

Syntax

template<typename MessageType>
void Publish
(
    MessageType * Message,
    EMessageScope Scope,
    const FTimespan & Delay
)

Remarks

Publishes a message to all subscribed recipients within the specified scope after a given delay.

Parameters

Parameter

Description

Message

The message to publish.

Scope

The message scope.

Delay

The delay after which to publish the message.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss