Invokes the function on the specified target object with the given arguments. Uses FunctionInvoker for proper exception handling and performance.