Event as map value

Hi, is there any option to make something like this

TMap<FName, EventHandler>.

I like to pass action names from input into key and event handler to call in object other then player