human
I wrote the below code

    def decorator(generator):
        def decorated(*args, **kwargs):
            for v in generator(*args, **kwargs):
                send(event, info=v)
                (yield v)
        return decorated
    return decorator

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

def notify_info_yielded(event):