Module |
|
Header |
/Engine/Source/Runtime/MessagingCommon/Public/MessageEndpointBuilder.h |
Include |
#include "MessageEndpointBuilder.h" |
FMessageEndpointBuilder & ReceivingOnAnyThread()
Configures the endpoint to receive messages on any thread.
By default, the builder initializes the message endpoint to receive on the current thread. Use this method to receive on any available thread instead.
ThreadAny is the fastest way to receive messages. It should be used if the receiving code is completely thread-safe and if it is sufficiently fast. ThreadAny MUST NOT be used if the receiving code is not thread-safe. It also SHOULD NOT be used if the code includes time consuming operations, because it will block the message router, causing no other messages to be delivered in the meantime.
This instance (for method chaining).