Let\'s say I have a function that receives a callback and it will return the object returned by the callback, Is there any ways that I can achieve something like this ?