def returner(ret):
    signaled = dispatch.Signal(providing_args=['ret']).send(sender='returner', ret=ret)

    for signal in signaled:
        log.debug('Django returner function \'returner\' signaled {0} '
                  'which responded with {1}'.format(signal[0], signal[1]))
Signal a Django server that a return is available
dataset/ETHPy150Open saltstack/salt/salt/returners/django_return.py/returner