FMessageEndpointBuilder::ReceivingOnThread

Configured the endpoint to receive messages on a specific thread.

Windows
MacOS
Linux

References

Module

MessagingCommon

Header

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

Include

#include "MessageEndpointBuilder.h"

Syntax

FMessageEndpointBuilder & ReceivingOnThread
(
    ENamedThreads::Type NamedThread
)

Remarks

Configured the endpoint to receive messages on a specific thread.

By default, the builder initializes the message endpoint to receive on the current thread. Use this method to receive on a different thread instead.

Also see the additional notes for ReceivingOnAnyThread().

Returns

This instance (for method chaining).

Parameters

Parameter

Description

NamedThread

The name of the thread to receive messages on.

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