Navigation
API > API/Runtime > API/Runtime/MessagingCommon > API/Runtime/MessagingCommon/FMessageEndpointBuilder
Description
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().
| Name | ReceivingOnThread |
| Type | function |
| Header File | /Engine/Source/Runtime/MessagingCommon/Public/MessageEndpointBuilder.h |
| Include Path | #include "MessageEndpointBuilder.h" |
FMessageEndpointBuilder & ReceivingOnThread
(
ENamedThreads::Type NamedThread
)
This instance (for method chaining).
Parameters
| Name | Remarks |
|---|---|
| NamedThread | The name of the thread to receive messages on. |