human
I wrote the below code

    def inner(environ, start_response):
        try:
            result = application(environ, start_response)
        except:
            callback(environ)
            raise
        return generate_close_and_callback(result, callback, environ)
    return inner

What's a good function header?

=====
Here's a good function header?
assistant
#Here's a good function header.

def execute_on_completion(application, config, callback):