def link_unwrap(notify, args, kwargs):
    """Unwraps the result of a greenlet execution and passes it to notify()."""
    def unwrapper(greenlet):
        notify(greenlet.value, *args, **kwargs)

    return unwrapper