How to create a new custom delegate use for get a return value in blueprint just like FGetWidget?

I know, but the multicast delegate can’t return a value for me.

I want to get a return value from the delegate.

Like MenuAnchor’s OnGenerateContent delegate.