Navigation
API > API/Plugins > API/Plugins/ToolsetRegistry > API/Plugins/ToolsetRegistry/UToolCallAsyncResult
Description
Broadcast to subscribers of the OnCompleted delegate if the result is already complete.
This must be called after subscribing to OnCompleted to ensure an event receives a notification when the result is already complete.
This is thread safe, OnCompleted will always be signaled on the main thread.
Ideally we would override subscription methods for the OnCompleted delegate and notify subscribers there but unfortunately that isn't possible.
| Name | BroadcastOnCompletedIfComplete |
| Type | function |
| Header File | /Engine/Plugins/Experimental/ToolsetRegistry/Source/ToolsetRegistry/Public/ToolsetRegistry/ToolCallAsyncResult.h |
| Include Path | #include "ToolsetRegistry/ToolCallAsyncResult.h" |
| Source | /Engine/Plugins/Experimental/ToolsetRegistry/Source/ToolsetRegistry/Private/ToolsetRegistry/ToolCallAsyncResult.cpp |
UFUNCTION (BlueprintCallable, Category="ToolsetRegistry")
bool BroadcastOnCompletedIfComplete()
true if the result was complete, false otherwise.