IMessageBus::Forward

Forwards a previously received message.

Windows
MacOS
Linux

References

Module

Messaging

Header

/Engine/Source/Runtime/Messaging/Public/IMessageBus.h

Include

#include "IMessageBus.h"

Syntax

void Forward
(
    const TSharedRef< IMessageContext, ESPMode::ThreadSafe > & Context,
    const TArray< FMessageAddress > & Recipients,
    const FTimespan & Delay,
    const TSharedRef< IMessageSender, ESPMode::ThreadSafe > & Forwarder
)

Remarks

Forwards a previously received message.

Messages can only be forwarded to endpoints within the same process.

Parameters

Parameter

Description

Context

The context of the message to forward.

Recipients

The list of message recipients to forward the message to.

Delay

The deferral time.

Forwarder

The sender that forwards the message.

See Also

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