def defer_to_events_queue(fn, *args, **kwargs):
 deferred.defer(fn, _queue=QUEUE_NAME_EVENTS, *args, **kwargs)

def defer_to_events_queue ( fn , * args , ** kwargs ) : deferred . defer ( fn , _queue = QUEUE_NAME_EVENTS , * args , ** kwargs )
adds a new task to the deferred queue for processing events .