FMessageEndpoint::Publish

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

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,
    const FDateTime & Expiration
)

Remarks

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

Parameters

Parameter

Description

Message

The message to publish.

Scope

The message scope.

Fields

The message content.

Delay

The delay after which to publish the message.

Expiration

The time at which the message expires.

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