'Executes the function and sets AsynchronousRequest.response.'

def _fetch(self, function, *args, **kwargs):

    try:
        self._response = function(*args, **kwargs)
    except Exception as e:
        self._error = e
