Navigation
API > API/Plugins > API/Plugins/ToolsetRegistry > API/Plugins/ToolsetRegistry/FDelegateHandleRaii
Description
Create an instance of a delegate handle RAII container.
For example: auto HandleRaii = FDelegateHandleRaii::Create( OnSomeMulticastDelegate, OnSomeMulticastDelegate.AddLambda([]() -> void { /* do something */ }));
| Name | Create |
| Type | function |
| Header File | /Engine/Plugins/Experimental/ToolsetRegistry/Source/ToolsetRegistry/Public/ToolsetRegistry/DelegateHandle.h |
| Include Path | #include "ToolsetRegistry/DelegateHandle.h" |
template<typename DelegateRegistrationT>
static FDelegateHandleRaii Create
(
DelegateRegistrationT & Registration,
FDelegateHandle && Handle
)