FMessageEndpoint::ReceiveFromInbox

Receives a single message from the endpoint's inbox.

Windows
MacOS
Linux

References

Module

MessagingCommon

Header

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

Include

#include "MessageEndpoint.h"

Syntax

bool ReceiveFromInbox
(
    TSharedPtr< IMessageContext, ESPMode::ThreadSafe > & OutContext
)

Remarks

Receives a single message from the endpoint's inbox.

that an incoming message will only be queued up in the endpoint's inbox if the inbox has been enabled and no matching message handler handled it. The inbox is disabled by default and must be enabled using the EnableInbox() method.

Returns

true if a message was received, false if the inbox was empty.

Parameters

Parameter

Description

OutContext

Will hold the context of the received 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